llvm-for-llvmta/tools/clang/test/Driver/ps4-cpu-defaults.cpp

8 lines
258 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// Check that on the PS4 we default to:
// -target-cpu btver2, no exceptions and not -tune-cpu generic
// RUN: %clang -target x86_64-scei-ps4 -c %s -### 2>&1 | FileCheck %s
// CHECK: "-target-cpu" "btver2"
// CHECK-NOT: exceptions
// CHECK-NOT: "-tune-cpu"