From 9fd438fc008897243e99c17f688e2b234520f994 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 28 Aug 2013 23:04:41 +0000 Subject: Convert tests to FileCheck git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189529 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/apint-select.ll | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/Transforms/InstCombine/apint-select.ll') 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 -- cgit v1.2.3