[llvm-commits] [llvm] r53442 - /llvm/trunk/test/Transforms/InstCombine/JavaCompare.ll
Chris Lattner
sabre at nondot.org
Thu Jul 10 20:54:58 PDT 2008
Author: lattner
Date: Thu Jul 10 22:54:57 2008
New Revision: 53442
URL: http://llvm.org/viewvc/llvm-project?rev=53442&view=rev
Log:
make this condition more precise.
Modified:
llvm/trunk/test/Transforms/InstCombine/JavaCompare.ll
Modified: llvm/trunk/test/Transforms/InstCombine/JavaCompare.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/JavaCompare.ll?rev=53442&r1=53441&r2=53442&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/JavaCompare.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/JavaCompare.ll Thu Jul 10 22:54:57 2008
@@ -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]
More information about the llvm-commits
mailing list