mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 15:41:46 +00:00
68dd51421f
And fix a minor issue that -mabi=vec-extabi -mabi=vec-default should not pass "-bplugin_opt:-vec-extabi" to ld.
17 lines
798 B
C
17 lines
798 B
C
// RUN: %clang -### -target powerpc-unknown-aix -S %s 2>&1 | \
|
|
// RUN: FileCheck %s --implicit-check-not=vec-extabi
|
|
// RUN: %clang -### -target powerpc-unknown-aix -S -maltivec %s 2>&1 | \
|
|
// RUN: FileCheck %s --implicit-check-not=vec-extabi
|
|
// RUN: %clang -### -target powerpc-unknown-aix -S -maltivec -mabi=vec-default %s 2>&1 | \
|
|
// RUN: FileCheck %s --check-prefix=DFLTABI --implicit-check-not=vec-extabi
|
|
// RUN: %clang -### -target powerpc-unknown-aix -S -mabi=vec-extabi %s 2>&1 | \
|
|
// RUN: FileCheck %s --check-prefix=EXTABI
|
|
// RUN: %clang -### -target powerpc-unknown-aix -S -maltivec -mabi=vec-extabi %s 2>&1 | \
|
|
// RUN: FileCheck %s --check-prefix=EXTABI
|
|
/
|
|
// EXTABI: "-cc1"
|
|
// EXTABI-SAME: "-mabi=vec-extabi"
|
|
|
|
// DFLTABI: "-cc1"
|
|
// DFLTABI-NOT: "-mabi=vec-extabi"
|