brintos

brintos / llvm-project-archived public Read only

0
0
Text · 442 B · 8102c4b Raw
11 lines · cpp
1// Check that on the PS4 we default to:2// -target-cpu btver2, not -tune-cpu generic3// And on the PS5 we default to:4// -target-cpu znver2, not -tune-cpu generic5 6// RUN: %clang -target x86_64-scei-ps4 -c %s -### 2>&1 | FileCheck --check-prefixes=PS4,BOTH %s7// RUN: %clang -target x86_64-sie-ps5 -c %s -### 2>&1 | FileCheck --check-prefixes=PS5,BOTH %s8// PS4: "-target-cpu" "btver2"9// PS5: "-target-cpu" "znver2"10// BOTH-NOT: "-tune-cpu"11