Use static inline to do the right thing when built in C99 mode. Of course,
[llvm/stm8.git] / test / CodeGen / Thumb2 / thumb2-sub2.ll
blobbb99cbd67fcf221f18d5071d29c5dff6ea236544
1 ; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
3 define i32 @f1(i32 %a) {
4     %tmp = sub i32 %a, 4095
5     ret i32 %tmp
7 ; CHECK: f1:
8 ; CHECK:        subw    r0, r0, #4095