aboutsummaryrefslogtreecommitdiff
path: root/test/Bitcode
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2011-10-25 19:59:50 +0000
committerChad Rosier <mcrosier@apple.com>2011-10-25 19:59:50 +0000
commit9f9491ca2ed05c0f65a7c612183020f4d0b7adeb (patch)
treef6bb51ab50343ffb2b217f6bb488ac905dbb4938 /test/Bitcode
parent013d756310a92fd358a9aab2a63cce52c107f777 (diff)
Simplify tests by not piping them through llvm-dis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142948 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Bitcode')
-rw-r--r--test/Bitcode/sse42_crc32.ll7
-rw-r--r--test/Bitcode/ssse3_palignr.ll2
2 files changed, 5 insertions, 4 deletions
diff --git a/test/Bitcode/sse42_crc32.ll b/test/Bitcode/sse42_crc32.ll
index 3f27d85589..ddb108d146 100644
--- a/test/Bitcode/sse42_crc32.ll
+++ b/test/Bitcode/sse42_crc32.ll
@@ -1,9 +1,10 @@
-; Check to make sure old CRC32 intrinsics are auto-upgraded
-; correctly.
+; Check to make sure old CRC32 intrinsics are auto-upgraded correctly.
+; Auto-upgrade happens when parsing a .bc or a .ll file. Thus, leave the test
+; case as a .ll file so we can see what's going on.
;
; Rdar: 9472944
;
-; RUN: opt < %s | llvm-dis | FileCheck %s
+; RUN: opt < %s -S | FileCheck %s
; crc32.8 should upgrade to crc32.32.8
; CHECK: i32 @llvm.x86.sse42.crc32.32.8(
diff --git a/test/Bitcode/ssse3_palignr.ll b/test/Bitcode/ssse3_palignr.ll
index eb844497d9..90b4394a8b 100644
--- a/test/Bitcode/ssse3_palignr.ll
+++ b/test/Bitcode/ssse3_palignr.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s | llvm-dis | FileCheck %s
+; RUN: opt < %s -S | FileCheck %s
; CHECK-NOT: {@llvm\\.palign}
define <4 x i32> @align1(<4 x i32> %a, <4 x i32> %b) nounwind readnone ssp {