blob: 23528b1a64c848a472af0e610061e62023da28dc [file] [log] [blame]
Pirama Arumuga Nainar87ff0a742017-11-27 19:18:39 +00001// ================== Check that krait is substituted by cortex-a15 when invoking
2// the assembler
3// RUN: %clang -target arm-linux -mcpu=krait -### -c %s -v -fno-integrated-as 2>&1 | FileCheck -check-prefix=CHECK-CORTEX-A15 %s
4// CHECK-CORTEX-A15: as{{(.exe)?}}" "{{.*}}-mcpu=cortex-a15
5
6// ================== Check that kryo is substituted by cortex-a57 when invoking
7// the assembler
8// RUN: %clang -target arm-linux -mcpu=kryo -### -c %s -v -fno-integrated-as 2>&1 | FileCheck -check-prefix=CHECK-CORTEX-A57 %s
9// RUN: %clang -target aarch64-linux -mcpu=kryo -### -c %s -v -fno-integrated-as 2>&1 | FileCheck -check-prefix=CHECK-CORTEX-A57 %s
10
Pirama Arumuga Nainar87ff0a742017-11-27 19:18:39 +000011// CHECK-CORTEX-A57: as{{(.exe)?}}" "{{.*}}-mcpu=cortex-a57