llvm/test/Transforms/InstCombine/sdiv-1.ll: FileCheck-ize.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 21 Nov 2012 14:46:18 +0000 (14:46 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 21 Nov 2012 14:46:18 +0000 (14:46 +0000)
"not grep '-715827882'" performed as below...bad...

Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168430 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/sdiv-1.ll

index c46b5eaef4a87f2cdc7bb26a4cb204169c42d7d0..6ab18ac7f8449f57a71ce507c37a2a50c7cdc6b9 100644 (file)
@@ -1,6 +1,8 @@
-; RUN: opt < %s -instcombine -inline -S | not grep '-715827882'
+; RUN: opt < %s -instcombine -inline -S | FileCheck %s
 ; PR3142
 
+; CHECK-NOT: -715827882
+
 define i32 @a(i32 %X) nounwind readnone {
 entry:
        %0 = sub i32 0, %X