make this condition more precise.

llvm-svn: 53442
This commit is contained in:
Chris Lattner 2008-07-11 03:54:57 +00:00
parent c9046b286b
commit 1be09d9e21
1 changed files with 1 additions and 2 deletions

View File

@ -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]