Simplify tests by not piping them through llvm-dis.
authorChad Rosier <mcrosier@apple.com>
Tue, 25 Oct 2011 19:59:50 +0000 (19:59 +0000)
committerChad Rosier <mcrosier@apple.com>
Tue, 25 Oct 2011 19:59:50 +0000 (19:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142948 91177308-0d34-0410-b5e6-96231b3b80d8

test/Bitcode/sse42_crc32.ll
test/Bitcode/ssse3_palignr.ll

index 3f27d85589cbf49b8e3e077051819b73b9f98c6b..ddb108d146288f3d32d9195ee00e7dbe38b705a7 100644 (file)
@@ -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(
index eb844497d9d4c20133d957f37cd2e8f7837ea792..90b4394a8b46ef4152157b90c11eb4368f75bac5 100644 (file)
@@ -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 {