summaryrefslogtreecommitdiffstats
path: root/test/Driver/ps4-cpu-defaults.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/ps4-cpu-defaults.cpp')
-rw-r--r--test/Driver/ps4-cpu-defaults.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Driver/ps4-cpu-defaults.cpp b/test/Driver/ps4-cpu-defaults.cpp
new file mode 100644
index 0000000..99547d4
--- /dev/null
+++ b/test/Driver/ps4-cpu-defaults.cpp
@@ -0,0 +1,6 @@
+// Check that on the PS4 we default to:
+// -target-cpu btver2 and no exceptions
+
+// RUN: %clang -target x86_64-scei-ps4 -c %s -### 2>&1 | FileCheck %s
+// CHECK: "-target-cpu" "btver2"
+// CHECK-NOT: exceptions
OpenPOWER on IntegriCloud