1 ; This test case is reduced from llvmAsmParser.cpp
2 ; The optimizer should not remove the cast here.
3 ; RUN: opt < %s -instcombine -S | \
7 define i1 @test(i16 %X) {
8 %A = sext i16 %X to i32 ; <i32> [#uses=1]
9 %B = icmp ugt i32 %A, 1330 ; <i1> [#uses=1]