llvm.org GIT mirror llvm / bf433e5
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 Nick Lewycky 8 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
487487
488488 ; CHECK: @test51
489489 ; CHECK: ret i1 %C
490 define i1 @test51(i16 %X, i32 %Y) {
491 %A = sext i16 %X to i32
490 define i1 @test51(i32 %X, i32 %Y) {
491 %A = and i32 %X, 2147483648
492492 %B = srem i32 %A, %Y
493493 %C = icmp sgt i32 %B, -1
494494 ret i1 %C