Testcase for PS4 target defaults (from r227215 and r227219)

llvm-svn: 227343
This commit is contained in:
Filipe Cabecinhas 2015-01-28 18:49:45 +00:00
parent 7e0255c769
commit 22e7635dc5

View File

@ -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