Revert Sparc and SparcV9 to external assembler. Now that the CPU
handling is corrected, the primary reason for forcing IAS as default is gone and the remaining issues are still somewhat problematic in common situations. llvm-svn: 254199
This commit is contained in:
parent
b25914e03f
commit
97f4d2c47f
|
@ -2377,9 +2377,6 @@ bool Generic_GCC::IsIntegratedAssemblerDefault() const {
|
|||
case llvm::Triple::ppc:
|
||||
case llvm::Triple::ppc64:
|
||||
case llvm::Triple::ppc64le:
|
||||
case llvm::Triple::sparc:
|
||||
case llvm::Triple::sparcel:
|
||||
case llvm::Triple::sparcv9:
|
||||
case llvm::Triple::systemz:
|
||||
return true;
|
||||
default:
|
||||
|
|
|
@ -1,3 +1,17 @@
|
|||
// Make sure Sparc does not use the integrated assembler by default.
|
||||
|
||||
// RUN: %clang -target sparc-linux -### -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=NO-IAS %s
|
||||
|
||||
// RUN: %clang -target sparc-linux -fintegrated-as -### -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=IAS %s
|
||||
|
||||
// RUN: %clang -target sparc-linux -fno-integrated-as -### -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=NO-IAS %s
|
||||
|
||||
// IAS-NOT: "-no-integrated-as"
|
||||
// NO-IAS: "-no-integrated-as"
|
||||
|
||||
// RUN: %clang -no-canonical-prefixes -target sparc--netbsd \
|
||||
// RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=SPARC %s
|
||||
|
|
|
@ -1,3 +1,17 @@
|
|||
// Make sure SparcV9 does not use the integrated assembler by default.
|
||||
|
||||
// RUN: %clang -target sparcv9-linux -### -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=NO-IAS %s
|
||||
|
||||
// RUN: %clang -target sparcv9-linux -fintegrated-as -### -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=IAS %s
|
||||
|
||||
// RUN: %clang -target sparcv9-linux -fno-integrated-as -### -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=NO-IAS %s
|
||||
|
||||
// IAS-NOT: "-no-integrated-as"
|
||||
// NO-IAS: "-no-integrated-as"
|
||||
|
||||
// RUN: %clang -no-canonical-prefixes -target sparcv9--netbsd \
|
||||
// RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=SPARC %s
|
||||
|
|
Loading…
Reference in New Issue