fix an embarassing typo that resulted in llvm-gcc bootstrap miscompare
[llvm/avr.git] / test / CodeGen / ARM / ispositive.ll
blob5116ac82862a456fe2f3e1f337492900d56b0332
1 ; RUN: llc < %s -march=arm | grep {mov r0, r0, lsr #31}
3 define i32 @test1(i32 %X) {
4 entry:
5         icmp slt i32 %X, 0              ; <i1>:0 [#uses=1]
6         zext i1 %0 to i32               ; <i32>:1 [#uses=1]
7         ret i32 %1