[llvm-commits] [llvm] r142948 - in /llvm/trunk/test/Bitcode: sse42_crc32.ll ssse3_palignr.ll
Chad Rosier
mcrosier at apple.com
Tue Oct 25 12:59:50 PDT 2011
Author: mcrosier
Date: Tue Oct 25 14:59:50 2011
New Revision: 142948
URL: http://llvm.org/viewvc/llvm-project?rev=142948&view=rev
Log:
Simplify tests by not piping them through llvm-dis.
Modified:
llvm/trunk/test/Bitcode/sse42_crc32.ll
llvm/trunk/test/Bitcode/ssse3_palignr.ll
Modified: llvm/trunk/test/Bitcode/sse42_crc32.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Bitcode/sse42_crc32.ll?rev=142948&r1=142947&r2=142948&view=diff
==============================================================================
--- llvm/trunk/test/Bitcode/sse42_crc32.ll (original)
+++ llvm/trunk/test/Bitcode/sse42_crc32.ll Tue Oct 25 14:59:50 2011
@@ -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(
Modified: llvm/trunk/test/Bitcode/ssse3_palignr.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Bitcode/ssse3_palignr.ll?rev=142948&r1=142947&r2=142948&view=diff
==============================================================================
--- llvm/trunk/test/Bitcode/ssse3_palignr.ll (original)
+++ llvm/trunk/test/Bitcode/ssse3_palignr.ll Tue Oct 25 14:59:50 2011
@@ -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 {
More information about the llvm-commits
mailing list