r227343 - Testcase for PS4 target defaults (from r227215 and r227219)

Filipe Cabecinhas me at filcab.net
Wed Jan 28 10:49:46 PST 2015


Author: filcab
Date: Wed Jan 28 12:49:45 2015
New Revision: 227343

URL: http://llvm.org/viewvc/llvm-project?rev=227343&view=rev
Log:
Testcase for PS4 target defaults (from r227215 and r227219)

Added:
    cfe/trunk/test/Driver/ps4-cpu-defaults.cpp

Added: cfe/trunk/test/Driver/ps4-cpu-defaults.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/ps4-cpu-defaults.cpp?rev=227343&view=auto
==============================================================================
--- cfe/trunk/test/Driver/ps4-cpu-defaults.cpp (added)
+++ cfe/trunk/test/Driver/ps4-cpu-defaults.cpp Wed Jan 28 12:49:45 2015
@@ -0,0 +1,7 @@
+// Check that on the PS4 we default to:
+// -target-cpu btver2, -momit-leaf-frame-pointer, and no exceptions
+
+// RUN: %clang -target x86_64-scei-ps4 -c %s -### 2>&1 | FileCheck %s
+// CHECK: "-target-cpu" "btver2"
+// CHECK: -momit-leaf-frame-pointer
+// CHECK-NOT: exceptions





More information about the cfe-commits mailing list