For the PS4, do not emit "-tune-cpu generic" since the platform only has 1 known CPU and we do not want to prevent optimizations by tuning for a generic rather than the specific processor it contains. Reviewed By: probinson Differential Revision: https://reviews.llvm.org/D86965
8 lines
258 B
C++
8 lines
258 B
C++
// 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"
|