llvm-for-llvmta/tools/clang/test/Driver/aix-vec-extabi.c

11 lines
417 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang -### -target powerpc-unknown-aix -S -maltivec -mabi=vec-extabi %s 2>&1 | \
// RUN: FileCheck %s
// CHECK: "-cc1"
// CHECK-SAME: "-mabi=vec-extabi"
// RUN: %clang -### -target powerpc-unknown-aix -S -maltivec -mabi=vec-default %s 2>&1 | \
// RUN: FileCheck %s --check-prefix=ERROR
// ERROR: The default Altivec ABI on AIX is not yet supported, use '-mabi=vec-extabi' for the extended Altivec ABI