Use static inline to do the right thing when built in C99 mode. Of course,
[llvm/stm8.git] / test / CodeGen / PowerPC / ispositive.ll
blob4161e3438a4bae1db0197744db2ac405c43582fb
1 ; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 | \
2 ; RUN:   grep {srwi r3, r3, 31}
4 define i32 @test1(i32 %X) {
5 entry:
6         icmp slt i32 %X, 0              ; <i1>:0 [#uses=1]
7         zext i1 %0 to i32               ; <i32>:1 [#uses=1]
8         ret i32 %1