summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Driver/ppc-features.cpp (renamed from clang/test/Driver/altivec.cpp)6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Driver/altivec.cpp b/clang/test/Driver/ppc-features.cpp
index cf70e8daa98..1918ed7d76f 100644
--- a/clang/test/Driver/altivec.cpp
+++ b/clang/test/Driver/ppc-features.cpp
@@ -62,3 +62,9 @@
// RUN: %clang -target powerpc64-unknown-linux-gnu %s -fno-altivec -mcpu=ppc64 -### -o %t.o 2>&1 | FileCheck --check-prefix=CHECK-15 %s
// CHECK-15: "-target-feature" "-altivec"
+// RUN: %clang -target powerpc64-unknown-linux-gnu %s -mno-qpx -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOQPX %s
+// CHECK-NOQPX: "-target-feature" "-qpx"
+
+// RUN: %clang -target powerpc64-unknown-linux-gnu %s -mno-qpx -mqpx -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-QPX %s
+// CHECK-QPX-NOT: "-target-feature" "-qpx"
+
OpenPOWER on IntegriCloud