Tests for ARM aligned access + reserved R9
Patch by Jeroen Hofstee. llvm-svn: 189190
This commit is contained in:
parent
f8f478b19d
commit
171b6b19f1
|
@ -0,0 +1,9 @@
|
|||
// RUN: %clang -target arm-none-gnueeabi -munaligned-access -### %s 2> %t
|
||||
// RUN: FileCheck --check-prefix=CHECK-UNALIGNED < %t %s
|
||||
|
||||
// CHECK-UNALIGNED: "-backend-option" "-arm-no-strict-align"
|
||||
|
||||
// RUN: %clang -target arm-none-gnueeabi -mno-unaligned-access -### %s 2> %t
|
||||
// RUN: FileCheck --check-prefix=CHECK-ALIGNED < %t %s
|
||||
|
||||
// CHECK-ALIGNED: "-backend-option" "-arm-strict-align"
|
|
@ -0,0 +1,4 @@
|
|||
// RUN: %clang -target arm-none-gnueeabi -ffixed-r9 -### %s 2> %t
|
||||
// RUN: FileCheck --check-prefix=CHECK-FIXED-R9 < %t %s
|
||||
|
||||
// CHECK-FIXED-R9: "-backend-option" "-arm-reserve-r9"
|
Loading…
Reference in New Issue