Sjoerd Meijer | ba7a16f | 2016-06-03 14:08:20 +0000 | [diff] [blame] | 1 | // RUN: %clang -target arm-none-none-eabi -march=armv8a+ras -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-RAS %s |
| 2 | // RUN: %clang -target arm-none-none-eabi -mcpu=generic+ras -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-RAS %s |
Sam Parker | ffccda6 | 2017-08-21 08:52:45 +0000 | [diff] [blame] | 3 | // RUN: %clang -target arm-none-none-eabi -mcpu=cortex-a75 -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-RAS %s |
| 4 | // RUN: %clang -target arm-none-none-eabi -mcpu=cortex-a55 -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-RAS %s |
Sjoerd Meijer | ba7a16f | 2016-06-03 14:08:20 +0000 | [diff] [blame] | 5 | // CHECK-RAS: "-target-feature" "+ras" |
| 6 | |
| 7 | // RUN: %clang -target arm-none-none-eabi -march=armv8a+noras -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-NORAS %s |
| 8 | // RUN: %clang -target arm-none-none-eabi -mcpu=generic+noras -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-NORAS %s |
| 9 | // CHECK-NORAS: "-target-feature" "-ras" |