mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-05 10:17:37 +00:00
make this condition more precise.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53442 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1913b94c11
commit
99672cb130
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user