summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine
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
commit99672cb13061227d182b5b515a7f02ea4d42d4cb (patch)
tree98ac6c23db7c15eb6e0ad48c920e701643234df7 /test/Transforms/InstCombine
parent1913b94c1153ebf500928bc5d985e982addd5ed4 (diff)
downloadllvm-99672cb13061227d182b5b515a7f02ea4d42d4cb.tar.gz
llvm-99672cb13061227d182b5b515a7f02ea4d42d4cb.tar.bz2
llvm-99672cb13061227d182b5b515a7f02ea4d42d4cb.tar.xz
make this condition more precise.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53442 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine')
-rw-r--r--test/Transforms/InstCombine/JavaCompare.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Transforms/InstCombine/JavaCompare.ll b/test/Transforms/InstCombine/JavaCompare.ll
index db62991211..72cab427d0 100644
--- a/test/Transforms/InstCombine/JavaCompare.ll
+++ b/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]