diff options
author | Chad Rosier <mcrosier@apple.com> | 2011-05-28 00:15:10 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2011-05-28 00:15:10 +0000 |
commit | 20ef3439db0e3d8596d2fb743f0cacd21dcc143f (patch) | |
tree | 21b905399eb1bb630b8c97a14c566c0d9c2e7304 /test/Bitcode/sse42_crc32.ll | |
parent | 7bf114c1bd0390f4f485905d2fe9c7c6a048b8b7 (diff) | |
download | external_llvm-20ef3439db0e3d8596d2fb743f0cacd21dcc143f.zip external_llvm-20ef3439db0e3d8596d2fb743f0cacd21dcc143f.tar.gz external_llvm-20ef3439db0e3d8596d2fb743f0cacd21dcc143f.tar.bz2 |
Fix test cases that were previously using grep to use FileCheck
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132237 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Bitcode/sse42_crc32.ll')
-rw-r--r-- | test/Bitcode/sse42_crc32.ll | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/test/Bitcode/sse42_crc32.ll b/test/Bitcode/sse42_crc32.ll index 9b2fcff..1c371c3 100644 --- a/test/Bitcode/sse42_crc32.ll +++ b/test/Bitcode/sse42_crc32.ll @@ -3,14 +3,26 @@ ; ; Rdar: 9472944 ; -; RUN: llvm-dis < %s.bc | not grep {i32 @llvm.x86.sse42.crc32.8(} -; RUN: llvm-dis < %s.bc | grep {i32 @llvm.x86.sse42.crc32.32.8(} -; RUN: llvm-dis < %s.bc | not grep {i32 @llvm.x86.sse42.crc32.16(} -; RUN: llvm-dis < %s.bc | grep {i32 @llvm.x86.sse42.crc32.32.16(} -; RUN: llvm-dis < %s.bc | not grep {i32 @llvm.x86.sse42.crc32.32(} -; RUN: llvm-dis < %s.bc | grep {i32 @llvm.x86.sse42.crc32.32.32(} -; RUN: llvm-dis < %s.bc | not grep {i64 @llvm.x86.sse42.crc64.8(} -; RUN: llvm-dis < %s.bc | grep {i64 @llvm.x86.sse42.crc32.64.8(} -; RUN: llvm-dis < %s.bc | not grep {i64 @llvm.x86.sse42.crc64.64(} -; RUN: llvm-dis < %s.bc | grep {i64 @llvm.x86.sse42.crc32.64.64(} +; RUN: llvm-dis < %s.bc | FileCheck %s + +; crc32.8 should upgrade to crc32.32.8 +; CHECK: i32 @llvm.x86.sse42.crc32.32.8( +; CHECK-NOT: i32 @llvm.x86.sse42.crc32.8( + +; crc32.16 should upgrade to crc32.32.16 +; CHECK: i32 @llvm.x86.sse42.crc32.32.16( +; CHECK-NOT: i32 @llvm.x86.sse42.crc32.16( + +; crc32.32 should upgrade to crc32.32.32 +; CHECK: i32 @llvm.x86.sse42.crc32.32.32( +; CHECK-NOT: i32 @llvm.x86.sse42.crc32.32( + +; crc64.8 should upgrade to crc32.64.8 +; CHECK: i64 @llvm.x86.sse42.crc32.64.8( +; CHECK-NOT: i64 @llvm.x86.sse42.crc64.8( + +; crc64.64 should upgrade to crc32.64.64 +; CHECK: i64 @llvm.x86.sse42.crc32.64.64( +; CHECK-NOT: i64 @llvm.x86.sse42.crc64.64( + |