Renato Golin | 47aeab5 | 2013-09-02 14:11:33 +0000 | [diff] [blame] | 1 | // RUN: %clang -target arm-none-gnueabi -munaligned-access -### %s 2> %t |
Kevin Qin | e5cee260 | 2014-05-06 09:51:32 +0000 | [diff] [blame] | 2 | // RUN: FileCheck --check-prefix=CHECK-UNALIGNED-ARM < %t %s |
Renato Golin | 171b6b1 | 2013-08-25 13:01:50 +0000 | [diff] [blame] | 3 | |
Renato Golin | 47aeab5 | 2013-09-02 14:11:33 +0000 | [diff] [blame] | 4 | // RUN: %clang -target arm-none-gnueabi -mstrict-align -munaligned-access -### %s 2> %t |
Kevin Qin | e5cee260 | 2014-05-06 09:51:32 +0000 | [diff] [blame] | 5 | // RUN: FileCheck --check-prefix=CHECK-UNALIGNED-ARM < %t %s |
Renato Golin | 8d5f314 | 2013-08-28 23:56:07 +0000 | [diff] [blame] | 6 | |
Renato Golin | 47aeab5 | 2013-09-02 14:11:33 +0000 | [diff] [blame] | 7 | // RUN: %clang -target arm-none-gnueabi -mno-unaligned-access -munaligned-access -### %s 2> %t |
Kevin Qin | e5cee260 | 2014-05-06 09:51:32 +0000 | [diff] [blame] | 8 | // RUN: FileCheck --check-prefix=CHECK-UNALIGNED-ARM < %t %s |
Renato Golin | 8d5f314 | 2013-08-28 23:56:07 +0000 | [diff] [blame] | 9 | |
Tim Northover | 573cbee | 2014-05-24 12:52:07 +0000 | [diff] [blame] | 10 | // RUN: %clang -target aarch64-none-gnueabi -munaligned-access -### %s 2> %t |
| 11 | // RUN: FileCheck --check-prefix=CHECK-UNALIGNED-AARCH64 < %t %s |
Kevin Qin | e5cee260 | 2014-05-06 09:51:32 +0000 | [diff] [blame] | 12 | |
Tim Northover | 573cbee | 2014-05-24 12:52:07 +0000 | [diff] [blame] | 13 | // RUN: %clang -target aarch64-none-gnueabi -mstrict-align -munaligned-access -### %s 2> %t |
| 14 | // RUN: FileCheck --check-prefix=CHECK-UNALIGNED-AARCH64 < %t %s |
Kevin Qin | e5cee260 | 2014-05-06 09:51:32 +0000 | [diff] [blame] | 15 | |
Tim Northover | 573cbee | 2014-05-24 12:52:07 +0000 | [diff] [blame] | 16 | // RUN: %clang -target aarch64-none-gnueabi -mno-unaligned-access -munaligned-access -### %s 2> %t |
| 17 | // RUN: FileCheck --check-prefix=CHECK-UNALIGNED-AARCH64 < %t %s |
Kevin Qin | e5cee260 | 2014-05-06 09:51:32 +0000 | [diff] [blame] | 18 | |
| 19 | // CHECK-UNALIGNED-ARM: "-backend-option" "-arm-no-strict-align" |
Tim Northover | 573cbee | 2014-05-24 12:52:07 +0000 | [diff] [blame] | 20 | // CHECK-UNALIGNED-AARCH64: "-backend-option" "-aarch64-no-strict-align" |
Renato Golin | 171b6b1 | 2013-08-25 13:01:50 +0000 | [diff] [blame] | 21 | |
Renato Golin | 8d5f314 | 2013-08-28 23:56:07 +0000 | [diff] [blame] | 22 | |
Renato Golin | 47aeab5 | 2013-09-02 14:11:33 +0000 | [diff] [blame] | 23 | // RUN: %clang -target arm-none-gnueabi -mno-unaligned-access -### %s 2> %t |
Kevin Qin | e5cee260 | 2014-05-06 09:51:32 +0000 | [diff] [blame] | 24 | // RUN: FileCheck --check-prefix=CHECK-ALIGNED-ARM < %t %s |
Renato Golin | 171b6b1 | 2013-08-25 13:01:50 +0000 | [diff] [blame] | 25 | |
Renato Golin | 47aeab5 | 2013-09-02 14:11:33 +0000 | [diff] [blame] | 26 | // RUN: %clang -target arm-none-gnueabi -mstrict-align -### %s 2> %t |
Kevin Qin | e5cee260 | 2014-05-06 09:51:32 +0000 | [diff] [blame] | 27 | // RUN: FileCheck --check-prefix=CHECK-ALIGNED-ARM < %t %s |
Renato Golin | 8d5f314 | 2013-08-28 23:56:07 +0000 | [diff] [blame] | 28 | |
| 29 | // RUN: %clang -target arm-none-gnueabi -munaligned-access -mno-unaligned-access -### %s 2> %t |
Kevin Qin | e5cee260 | 2014-05-06 09:51:32 +0000 | [diff] [blame] | 30 | // RUN: FileCheck --check-prefix=CHECK-ALIGNED-ARM < %t %s |
Renato Golin | 8d5f314 | 2013-08-28 23:56:07 +0000 | [diff] [blame] | 31 | |
| 32 | // RUN: %clang -target arm-none-gnueabi -munaligned-access -mstrict-align -### %s 2> %t |
Kevin Qin | e5cee260 | 2014-05-06 09:51:32 +0000 | [diff] [blame] | 33 | // RUN: FileCheck --check-prefix=CHECK-ALIGNED-ARM < %t %s |
Renato Golin | 8d5f314 | 2013-08-28 23:56:07 +0000 | [diff] [blame] | 34 | |
Tim Northover | 573cbee | 2014-05-24 12:52:07 +0000 | [diff] [blame] | 35 | // RUN: %clang -target aarch64-none-gnueabi -mno-unaligned-access -### %s 2> %t |
| 36 | // RUN: FileCheck --check-prefix=CHECK-ALIGNED-AARCH64 < %t %s |
Kevin Qin | e5cee260 | 2014-05-06 09:51:32 +0000 | [diff] [blame] | 37 | |
Tim Northover | 573cbee | 2014-05-24 12:52:07 +0000 | [diff] [blame] | 38 | // RUN: %clang -target aarch64-none-gnueabi -mstrict-align -### %s 2> %t |
| 39 | // RUN: FileCheck --check-prefix=CHECK-ALIGNED-AARCH64 < %t %s |
Kevin Qin | e5cee260 | 2014-05-06 09:51:32 +0000 | [diff] [blame] | 40 | |
Tim Northover | 573cbee | 2014-05-24 12:52:07 +0000 | [diff] [blame] | 41 | // RUN: %clang -target aarch64-none-gnueabi -munaligned-access -mno-unaligned-access -### %s 2> %t |
| 42 | // RUN: FileCheck --check-prefix=CHECK-ALIGNED-AARCH64 < %t %s |
Kevin Qin | e5cee260 | 2014-05-06 09:51:32 +0000 | [diff] [blame] | 43 | |
Tim Northover | 573cbee | 2014-05-24 12:52:07 +0000 | [diff] [blame] | 44 | // RUN: %clang -target aarch64-none-gnueabi -munaligned-access -mstrict-align -### %s 2> %t |
| 45 | // RUN: FileCheck --check-prefix=CHECK-ALIGNED-AARCH64 < %t %s |
Kevin Qin | e5cee260 | 2014-05-06 09:51:32 +0000 | [diff] [blame] | 46 | |
| 47 | // CHECK-ALIGNED-ARM: "-backend-option" "-arm-strict-align" |
Tim Northover | 573cbee | 2014-05-24 12:52:07 +0000 | [diff] [blame] | 48 | // CHECK-ALIGNED-AARCH64: "-backend-option" "-aarch64-strict-align" |