
The default Altivec ABI was implemented but the clang error for specifying its use still remains. Users could get around this but not specifying the type of Altivec ABI but we need to remove the error. Reviewed By: jsji Differential Revision: https://reviews.llvm.org/D102094
13 lines
676 B
C
13 lines
676 B
C
// RUN: %clang -target powerpc-ibm-aix-xcoff -mcpu=pwr8 -E -dM -maltivec -mabi=vec-extabi %s -o - 2>&1 \
|
|
// RUN: | FileCheck %s -check-prefix=EXTABI
|
|
// RUN: %clang -target powerpc64-ibm-aix-xcoff -mcpu=pwr8 -E -dM -maltivec -mabi=vec-extabi %s -o - 2>&1 \
|
|
// RUN: | FileCheck %s -check-prefix=EXTABI
|
|
// RUN: %clang -target powerpc-ibm-aix-xcoff -mcpu=pwr8 -E -dM -maltivec -mabi=vec-default %s 2>&1 \
|
|
// RUN: | FileCheck %s -check-prefix=DFLTABI
|
|
// RUN: %clang -target powerpc64-ibm-aix-xcoff -mcpu=pwr8 -E -dM -maltivec -mabi=vec-default %s 2>&1 \
|
|
// RUN: | FileCheck %s -check-prefix=DFLTABI
|
|
|
|
|
|
// EXTABI: #define __EXTABI__
|
|
// DFLTABI-NOT: #define __EXTABI__
|