File tree 3 files changed +28
-3
lines changed
3 files changed +28
-3
lines changed Original file line number Diff line number Diff line change @@ -2377,9 +2377,6 @@ bool Generic_GCC::IsIntegratedAssemblerDefault() const {
2377
2377
case llvm::Triple::ppc:
2378
2378
case llvm::Triple::ppc64:
2379
2379
case llvm::Triple::ppc64le:
2380
- case llvm::Triple::sparc:
2381
- case llvm::Triple::sparcel:
2382
- case llvm::Triple::sparcv9:
2383
2380
case llvm::Triple::systemz:
2384
2381
return true ;
2385
2382
default :
Original file line number Diff line number Diff line change
1
+ // Make sure Sparc does not use the integrated assembler by default.
2
+
3
+ // RUN: %clang -target sparc-linux -### -c %s 2>&1 \
4
+ // RUN: | FileCheck -check-prefix=NO-IAS %s
5
+
6
+ // RUN: %clang -target sparc-linux -fintegrated-as -### -c %s 2>&1 \
7
+ // RUN: | FileCheck -check-prefix=IAS %s
8
+
9
+ // RUN: %clang -target sparc-linux -fno-integrated-as -### -c %s 2>&1 \
10
+ // RUN: | FileCheck -check-prefix=NO-IAS %s
11
+
12
+ // IAS-NOT: "-no-integrated-as"
13
+ // NO-IAS: "-no-integrated-as"
14
+
1
15
// RUN: %clang -no-canonical-prefixes -target sparc--netbsd \
2
16
// RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
3
17
// RUN: | FileCheck -check-prefix=SPARC %s
Original file line number Diff line number Diff line change
1
+ // Make sure SparcV9 does not use the integrated assembler by default.
2
+
3
+ // RUN: %clang -target sparcv9-linux -### -c %s 2>&1 \
4
+ // RUN: | FileCheck -check-prefix=NO-IAS %s
5
+
6
+ // RUN: %clang -target sparcv9-linux -fintegrated-as -### -c %s 2>&1 \
7
+ // RUN: | FileCheck -check-prefix=IAS %s
8
+
9
+ // RUN: %clang -target sparcv9-linux -fno-integrated-as -### -c %s 2>&1 \
10
+ // RUN: | FileCheck -check-prefix=NO-IAS %s
11
+
12
+ // IAS-NOT: "-no-integrated-as"
13
+ // NO-IAS: "-no-integrated-as"
14
+
1
15
// RUN: %clang -no-canonical-prefixes -target sparcv9--netbsd \
2
16
// RUN: -no-integrated-as --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \
3
17
// RUN: | FileCheck -check-prefix=SPARC %s
You can’t perform that action at this time.
0 commit comments