Guard fabs to bfc convert with V6T2 flag
[oota-llvm.git] / test / CodeGen / ARM / inlineasm-imm-thumb.ll
1 ; RUN: llc -mtriple=thumbv5-none-linux-gnueabi -no-integrated-as %s -o /dev/null
2
3 ; Test thumb-mode "I" constraint, for any Data Processing immediate.
4 define void @testI() {
5         tail call void asm sideeffect ".word $0", "I"( i32 255 ) nounwind
6         ret void
7 }
8
9 ; Test thumb-mode "J" constraint, for compatibility with unknown use in GCC.
10 define void @testJ() {
11         tail call void asm sideeffect ".word $0", "J"( i32 -254 ) nounwind
12         ret void
13 }
14
15 ; Test thumb-mode "L" constraint, for negated Data Processing immediates.
16 define void @testL() {
17         tail call void asm sideeffect ".word $0", "L"( i32 -7 ) nounwind
18         ret void
19 }
20