• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.
4define 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.
10define 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.
16define void @testL() {
17	tail call void asm sideeffect ".word $0", "L"( i32 -7 ) nounwind
18	ret void
19}
20
21