diff options
-rw-r--r-- | test/Transforms/InstCombine/icmp.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/InstCombine/icmp.ll b/test/Transforms/InstCombine/icmp.ll index bf0107adf0..a1626835a5 100644 --- a/test/Transforms/InstCombine/icmp.ll +++ b/test/Transforms/InstCombine/icmp.ll @@ -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 |