[AMDGPU] Removed superfluous predicate. NFC.
[llvm-project.git] / clang / test / Driver / ps4-ps5-cpu-defaults.cpp
blob8102c4b144a35512aec955496365e7c8f0c9f600
1 // Check that on the PS4 we default to:
2 // -target-cpu btver2, not -tune-cpu generic
3 // And on the PS5 we default to:
4 // -target-cpu znver2, not -tune-cpu generic
6 // RUN: %clang -target x86_64-scei-ps4 -c %s -### 2>&1 | FileCheck --check-prefixes=PS4,BOTH %s
7 // RUN: %clang -target x86_64-sie-ps5 -c %s -### 2>&1 | FileCheck --check-prefixes=PS5,BOTH %s
8 // PS4: "-target-cpu" "btver2"
9 // PS5: "-target-cpu" "znver2"
10 // BOTH-NOT: "-tune-cpu"