[PS5] Rename a test to reflect its new purpose
authorPaul Robinson <paul.robinson@sony.com>
Thu, 28 Apr 2022 15:07:36 +0000 (08:07 -0700)
committerPaul Robinson <paul.robinson@sony.com>
Thu, 28 Apr 2022 15:07:50 +0000 (08:07 -0700)
clang/test/Driver/ps4-cpu-defaults.cpp [deleted file]
clang/test/Driver/ps4-ps5-cpu-defaults.cpp [new file with mode: 0644]

diff --git a/clang/test/Driver/ps4-cpu-defaults.cpp b/clang/test/Driver/ps4-cpu-defaults.cpp
deleted file mode 100644 (file)
index 8102c4b..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-// Check that on the PS4 we default to:
-// -target-cpu btver2, not -tune-cpu generic
-// And on the PS5 we default to:
-// -target-cpu znver2, not -tune-cpu generic
-
-// RUN: %clang -target x86_64-scei-ps4 -c %s -### 2>&1 | FileCheck --check-prefixes=PS4,BOTH %s
-// RUN: %clang -target x86_64-sie-ps5 -c %s -### 2>&1 | FileCheck --check-prefixes=PS5,BOTH %s
-// PS4: "-target-cpu" "btver2"
-// PS5: "-target-cpu" "znver2"
-// BOTH-NOT: "-tune-cpu"
diff --git a/clang/test/Driver/ps4-ps5-cpu-defaults.cpp b/clang/test/Driver/ps4-ps5-cpu-defaults.cpp
new file mode 100644 (file)
index 0000000..8102c4b
--- /dev/null
@@ -0,0 +1,10 @@
+// Check that on the PS4 we default to:
+// -target-cpu btver2, not -tune-cpu generic
+// And on the PS5 we default to:
+// -target-cpu znver2, not -tune-cpu generic
+
+// RUN: %clang -target x86_64-scei-ps4 -c %s -### 2>&1 | FileCheck --check-prefixes=PS4,BOTH %s
+// RUN: %clang -target x86_64-sie-ps5 -c %s -### 2>&1 | FileCheck --check-prefixes=PS5,BOTH %s
+// PS4: "-target-cpu" "btver2"
+// PS5: "-target-cpu" "znver2"
+// BOTH-NOT: "-tune-cpu"