test/Transforms/ConstProp/logicaltest.ll: FileCheck-ize.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 29 Dec 2010 03:58:56 +0000 (03:58 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 29 Dec 2010 03:58:56 +0000 (03:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122620 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/ConstProp/logicaltest.ll

index 7a90a7199f8da4a93724c4ed9b500a7ba13b9f65..c74296aa2c0c2b8f841304582d9423b80da09ded 100644 (file)
@@ -1,7 +1,7 @@
 ; Ensure constant propogation of logical instructions is working correctly.
 
-; RUN: opt < %s -constprop -die -S | \
-; RUN:   not egrep {and|or|xor}
+; RUN: opt < %s -constprop -die -S | FileCheck %s
+; CHECK-NOT:     {{and|or|xor}}
 
 define i32 @test1() {
         %R = and i32 4, 1234            ; <i32> [#uses=1]