Use static inline to do the right thing when built in C99 mode. Of course,
[llvm/stm8.git] / test / CodeGen / ARM / ispositive.ll
blob2f1a2cfd7786df68d783b1b2689d25960293ca04
1 ; RUN: llc < %s -march=arm | FileCheck %s
3 define i32 @test1(i32 %X) {
4 ; CHECK: lsr{{.*}}#31
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