Eliminate more uses of llvm-as and llvm-dis.
[oota-llvm.git] / test / Transforms / InstCombine / 2006-10-19-SignedToUnsignedCastAndConst.ll
1 ; This test case is reduced from llvmAsmParser.cpp
2 ; The optimizer should not remove the cast here.
3 ; RUN: opt < %s -instcombine -S | \
4 ; RUN:    grep sext.*i32
5
6
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]
10         ret i1 %B
11 }
12