summaryrefslogtreecommitdiff
path: root/test/Transforms
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-11-21 14:46:18 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-11-21 14:46:18 +0000
commit4bf4c738e841f3244276d7a1d649800f099ba7f6 (patch)
tree6616cf60484aae4ef608a1eab553d9567a6f63d7 /test/Transforms
parent811a8376096f710c3b49fcc4f0d69150e22207b8 (diff)
downloadllvm-4bf4c738e841f3244276d7a1d649800f099ba7f6.tar.gz
llvm-4bf4c738e841f3244276d7a1d649800f099ba7f6.tar.bz2
llvm-4bf4c738e841f3244276d7a1d649800f099ba7f6.tar.xz
llvm/test/Transforms/InstCombine/sdiv-1.ll: FileCheck-ize.
"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
Diffstat (limited to 'test/Transforms')
-rw-r--r--test/Transforms/InstCombine/sdiv-1.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Transforms/InstCombine/sdiv-1.ll b/test/Transforms/InstCombine/sdiv-1.ll
index c46b5eaef4..6ab18ac7f8 100644
--- a/test/Transforms/InstCombine/sdiv-1.ll
+++ b/test/Transforms/InstCombine/sdiv-1.ll
@@ -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