diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-08-28 23:04:41 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-08-28 23:04:41 +0000 |
commit | 9fd438fc008897243e99c17f688e2b234520f994 (patch) | |
tree | 9191c986279b09f2750f1a7fa4fb52859d9fc760 /test/Transforms/InstCombine/apint-select.ll | |
parent | 09174f8833a86766aad6bb0307352a7d9fe9e22b (diff) | |
download | llvm-9fd438fc008897243e99c17f688e2b234520f994.tar.gz llvm-9fd438fc008897243e99c17f688e2b234520f994.tar.bz2 llvm-9fd438fc008897243e99c17f688e2b234520f994.tar.xz |
Convert tests to FileCheck
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189529 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/apint-select.ll')
-rw-r--r-- | test/Transforms/InstCombine/apint-select.ll | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Transforms/InstCombine/apint-select.ll b/test/Transforms/InstCombine/apint-select.ll index f2ea60101c..cf24a44d62 100644 --- a/test/Transforms/InstCombine/apint-select.ll +++ b/test/Transforms/InstCombine/apint-select.ll @@ -1,6 +1,7 @@ ; This test makes sure that these instructions are properly eliminated. -; RUN: opt < %s -instcombine -S | not grep select +; RUN: opt < %s -instcombine -S | FileCheck %s +; CHECK-NOT: select define i41 @test1(i1 %C) { @@ -37,7 +38,7 @@ define i41 @test5(i41 %X) { define i1023 @test6(i1023 %X) { ;; ((X & 27) ? 27 : 0) - %Y = and i1023 %X, 64 + %Y = and i1023 %X, 64 %t = icmp ne i1023 %Y, 0 %V = select i1 %t, i1023 64, i1023 0 ret i1023 %V |