mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
Tweak this test. We can analyze what happens and show that we still do the
right thing, instead of merely being unable to analyze and the transform doesn't occur. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127149 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c14bc77315
commit
bf433e5f46
@ -488,8 +488,8 @@ define i1 @test50(i16 %X, i32 %Y) {
|
||||
|
||||
; CHECK: @test51
|
||||
; CHECK: ret i1 %C
|
||||
define i1 @test51(i16 %X, i32 %Y) {
|
||||
%A = sext i16 %X to i32
|
||||
define i1 @test51(i32 %X, i32 %Y) {
|
||||
%A = and i32 %X, 2147483648
|
||||
%B = srem i32 %A, %Y
|
||||
%C = icmp sgt i32 %B, -1
|
||||
ret i1 %C
|
||||
|
Loading…
Reference in New Issue
Block a user