summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-07-11 03:54:57 +0000
committerChris Lattner <sabre@nondot.org>2008-07-11 03:54:57 +0000
commit1be09d9e2124d5b0d015f23495c1bd1bb0437b28 (patch)
tree9a0c597cb3592242112912745bed083a1ac3edf6 /llvm/test/Transforms
parentc9046b286b08eef7ef3f354df0c2ffe85821809b (diff)
downloadbcm5719-llvm-1be09d9e2124d5b0d015f23495c1bd1bb0437b28.tar.gz
bcm5719-llvm-1be09d9e2124d5b0d015f23495c1bd1bb0437b28.zip
make this condition more precise.
llvm-svn: 53442
Diffstat (limited to 'llvm/test/Transforms')
-rw-r--r--llvm/test/Transforms/InstCombine/JavaCompare.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/test/Transforms/InstCombine/JavaCompare.ll b/llvm/test/Transforms/InstCombine/JavaCompare.ll
index db62991211b..72cab427d07 100644
--- a/llvm/test/Transforms/InstCombine/JavaCompare.ll
+++ b/llvm/test/Transforms/InstCombine/JavaCompare.ll
@@ -1,8 +1,7 @@
; This is the sequence of stuff that the Java front-end expands for a single
; <= comparison. Check to make sure we turn it into a <= (only)
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
-; RUN: grep -v {icmp sle} | not grep #uses
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {%c3 = icmp sle i32 %A, %B}
define i1 @le(i32 %A, i32 %B) {
%c1 = icmp sgt i32 %A, %B ; <i1> [#uses=1]
OpenPOWER on IntegriCloud