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:
Nick Lewycky 2011-03-07 02:10:18 +00:00
parent c14bc77315
commit bf433e5f46

View File

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