[clang] 0e5fe1c - Remove `REQUIRES: x86-registered-target` from ps4/ps5 driver tests
Ying Yi via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 31 01:57:40 PDT 2022
Author: Ying Yi
Date: 2022-08-31T09:56:37+01:00
New Revision: 0e5fe1cdacdca65edc84c89cc7a6de27f406de61
URL: https://github.com/llvm/llvm-project/commit/0e5fe1cdacdca65edc84c89cc7a6de27f406de61
DIFF: https://github.com/llvm/llvm-project/commit/0e5fe1cdacdca65edc84c89cc7a6de27f406de61.diff
LOG: Remove `REQUIRES: x86-registered-target` from ps4/ps5 driver tests
Reviewed By: probinson
Differential Revision: https://reviews.llvm.org/D132950
Added:
Modified:
clang/test/Driver/ps4-pic.c
clang/test/Driver/ps4-ps5-header-search.c
clang/test/Driver/ps4-ps5-linker-non-win.c
clang/test/Driver/ps4-ps5-linker-win.c
clang/test/Driver/ps4-ps5-relax-relocations.c
clang/test/Driver/ps4-ps5-runtime-flags.c
clang/test/Driver/ps4-sdk-root.c
clang/test/Driver/ps4ps5base.c
clang/test/Driver/ps5-pic.c
clang/test/Driver/ps5-sdk-root.c
Removed:
################################################################################
diff --git a/clang/test/Driver/ps4-pic.c b/clang/test/Driver/ps4-pic.c
index c023dcfd0c35..fc429f130c75 100644
--- a/clang/test/Driver/ps4-pic.c
+++ b/clang/test/Driver/ps4-pic.c
@@ -1,5 +1,3 @@
-// REQUIRES: x86-registered-target
-
// Test the driver's control over the PIC behavior for PS4 compiler.
// These consist of tests of the relocation model flags and the
// pic level flags passed to CC1.
diff --git a/clang/test/Driver/ps4-ps5-header-search.c b/clang/test/Driver/ps4-ps5-header-search.c
index 6848901df559..6762c707dde6 100644
--- a/clang/test/Driver/ps4-ps5-header-search.c
+++ b/clang/test/Driver/ps4-ps5-header-search.c
@@ -1,5 +1,3 @@
-// REQUIRES: x86-registered-target
-
/// PS4 and PS5 use the same SDK layout, so use the same tree for both.
// RUN: env SCE_ORBIS_SDK_DIR=%S/Inputs/scei-ps4_tree %clang -target x86_64-scei-ps4 -E -v %s 2>&1 | FileCheck %s --check-prefix=ENVPS4
// RUN: env SCE_PROSPERO_SDK_DIR=%S/Inputs/scei-ps4_tree %clang -target x86_64-sie-ps5 -E -v %s 2>&1 | FileCheck %s --check-prefix=ENVPS4
diff --git a/clang/test/Driver/ps4-ps5-linker-non-win.c b/clang/test/Driver/ps4-ps5-linker-non-win.c
index b9686b88a757..8b8c0b018428 100644
--- a/clang/test/Driver/ps4-ps5-linker-non-win.c
+++ b/clang/test/Driver/ps4-ps5-linker-non-win.c
@@ -1,6 +1,5 @@
/// Checks proper linker prefixing for PS4 and PS5.
// UNSUPPORTED: system-windows
-// REQUIRES: x86-registered-target
// RUN: mkdir -p %t
// RUN: rm -f %t/orbis-ld
diff --git a/clang/test/Driver/ps4-ps5-linker-win.c b/clang/test/Driver/ps4-ps5-linker-win.c
index acff2c0f1f24..f02f5a2055ec 100644
--- a/clang/test/Driver/ps4-ps5-linker-win.c
+++ b/clang/test/Driver/ps4-ps5-linker-win.c
@@ -1,7 +1,7 @@
// This test checks that orbis-ld is used for PS4 linker all the time, and
// prospero-lld is used for PS5 linker. Specifying -fuse-ld causes an error.
-// REQUIRES: system-windows, x86-registered-target
+// REQUIRES: system-windows
// RUN: mkdir -p %t
// RUN: touch %t/orbis-ld.exe
diff --git a/clang/test/Driver/ps4-ps5-relax-relocations.c b/clang/test/Driver/ps4-ps5-relax-relocations.c
index 1c8200a6d58b..22490e486052 100644
--- a/clang/test/Driver/ps4-ps5-relax-relocations.c
+++ b/clang/test/Driver/ps4-ps5-relax-relocations.c
@@ -1,5 +1,3 @@
-// REQUIRES: x86-registered-target
-
// RUN: %clang -### -target x86_64-scei-ps4 %s -o - 2>&1 | \
// RUN: FileCheck %s
// RUN: %clang -### -target x86_64-scei-ps4 -Wa,-mrelax-relocations=yes %s -o - 2>&1 | \
diff --git a/clang/test/Driver/ps4-ps5-runtime-flags.c b/clang/test/Driver/ps4-ps5-runtime-flags.c
index 96c9c1244ddd..e75ba97948d2 100644
--- a/clang/test/Driver/ps4-ps5-runtime-flags.c
+++ b/clang/test/Driver/ps4-ps5-runtime-flags.c
@@ -1,5 +1,3 @@
-// REQUIRES: x86-registered-target
-//
/// Test the profile runtime library to be linked for PS4/PS5 compiler.
/// Check runtime flag --dependent-lib which does not append the default library search path.
//
diff --git a/clang/test/Driver/ps4-sdk-root.c b/clang/test/Driver/ps4-sdk-root.c
index ee22d6c8f0cf..e1a04522030c 100644
--- a/clang/test/Driver/ps4-sdk-root.c
+++ b/clang/test/Driver/ps4-sdk-root.c
@@ -1,5 +1,3 @@
-// REQUIRES: x86-registered-target
-
// Check that PS4 clang doesn't report a warning message when locating
// system header files (either by looking at the value of SCE_ORBIS_SDK_DIR
// or relative to the location of the compiler driver), if "-nostdinc",
diff --git a/clang/test/Driver/ps4ps5base.c b/clang/test/Driver/ps4ps5base.c
index bd583f88dd6e..a688c250129f 100644
--- a/clang/test/Driver/ps4ps5base.c
+++ b/clang/test/Driver/ps4ps5base.c
@@ -1,5 +1,3 @@
-// REQUIRES: x86-registered-target
-
// Test that the driver always emits -fno-use-init-array on the PS4/PS5 targets
// since their ABI does not support the .init_array section.
diff --git a/clang/test/Driver/ps5-pic.c b/clang/test/Driver/ps5-pic.c
index 0396122accf4..4db107cd8c86 100644
--- a/clang/test/Driver/ps5-pic.c
+++ b/clang/test/Driver/ps5-pic.c
@@ -1,5 +1,3 @@
-// REQUIRES: x86-registered-target
-
// Test the driver's control over the PIC behavior for PS5 compiler.
// These consist of tests of the relocation model flags and the
// pic level flags passed to CC1.
diff --git a/clang/test/Driver/ps5-sdk-root.c b/clang/test/Driver/ps5-sdk-root.c
index 79f6132afc04..c3672aef9dc0 100644
--- a/clang/test/Driver/ps5-sdk-root.c
+++ b/clang/test/Driver/ps5-sdk-root.c
@@ -1,5 +1,3 @@
-// REQUIRES: x86-registered-target
-
/// (Essentially identical to ps4-sdk-root.c except for the target.)
/// Check that PS5 clang doesn't report a warning message when locating
More information about the cfe-commits
mailing list