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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@254199 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Joerg Sonnenberger 2015-11-27 13:16:33 +00:00
parent a797c990d1
commit 4f0940af85
3 changed files with 28 additions and 3 deletions

View File

@ -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:

View File

@ -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

View File

@ -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