diff options
Diffstat (limited to 'clang/test/Driver/mips-features.c')
-rw-r--r-- | clang/test/Driver/mips-features.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/clang/test/Driver/mips-features.c b/clang/test/Driver/mips-features.c index 31bf1935ea0..3c1cea5178b 100644 --- a/clang/test/Driver/mips-features.c +++ b/clang/test/Driver/mips-features.c @@ -60,6 +60,18 @@ // RUN: | FileCheck --check-prefix=CHECK-NOXGOT %s // CHECK-NOXGOT-NOT: "-mllvm" "-mxgot" // +// -mldc1-sdc1 +// RUN: %clang -target mips-linux-gnu -### -c %s \ +// RUN: -mno-ldc1-sdc1 -mldc1-sdc1 2>&1 \ +// RUN: | FileCheck --check-prefix=CHECK-LDC1SDC1 %s +// CHECK-LDC1SDC1-NOT: "-mllvm" "-mno-ldc1-sdc1" +// +// -mno-ldc1-sdc1 +// RUN: %clang -target mips-linux-gnu -### -c %s \ +// RUN: -mldc1-sdc1 -mno-ldc1-sdc1 2>&1 \ +// RUN: | FileCheck --check-prefix=CHECK-NOLDC1SDC1 %s +// CHECK-NOLDC1SDC1: "-mllvm" "-mno-ldc1-sdc1" +// // -G // RUN: %clang -target mips-linux-gnu -### -c %s \ // RUN: -G 16 2>&1 \ |