aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2025-07-04 08:43:57 +0100
committerGitHub <noreply@github.com>2025-07-04 08:43:57 +0100
commitd84df61c001a9983bf445c2c0454edd581571a5f (patch)
tree1df0ac2b22d28c08fd2c552e0137c9f01bd9853e
parent3e78afff0d8e3d982e4bcdaad623cbb12dff01d8 (diff)
downloadllvm-d84df61c001a9983bf445c2c0454edd581571a5f.zip
llvm-d84df61c001a9983bf445c2c0454edd581571a5f.tar.gz
llvm-d84df61c001a9983bf445c2c0454edd581571a5f.tar.bz2
[flang] Fix x86 REQUIRES in a couple of tests (#146869)
Many tests in Flang are looking for x86_64-registered-target, but this never exists because the target is just called x86. These two pass with this corrected but the others I need to look into why they fail.
-rw-r--r--flang/test/Lower/Intrinsics/ieee_class_queries.f902
-rw-r--r--flang/test/Semantics/windows.f902
2 files changed, 2 insertions, 2 deletions
diff --git a/flang/test/Lower/Intrinsics/ieee_class_queries.f90 b/flang/test/Lower/Intrinsics/ieee_class_queries.f90
index aae8071..8d20ff8 100644
--- a/flang/test/Lower/Intrinsics/ieee_class_queries.f90
+++ b/flang/test/Lower/Intrinsics/ieee_class_queries.f90
@@ -1,5 +1,5 @@
! REQUIRES: flang-supports-f128-math
-! REQUIRES: x86_64-registered-target
+! REQUIRES: x86-registered-target
! RUN: bbc -target x86_64-unknown-linux-gnu -emit-fir -o - %s | FileCheck %s
! CHECK-LABEL: func @_QQmain
diff --git a/flang/test/Semantics/windows.f90 b/flang/test/Semantics/windows.f90
index 705fb1b..799a34e 100644
--- a/flang/test/Semantics/windows.f90
+++ b/flang/test/Semantics/windows.f90
@@ -1,4 +1,4 @@
-! RUN: %if x86_64-registered-target %{ %python %S/test_errors.py %s %flang --target=x86_64-pc-windows-msvc -Werror %}
+! RUN: %if x86-registered-target %{ %python %S/test_errors.py %s %flang --target=x86_64-pc-windows-msvc -Werror %}
! RUN: %if aarch64-registered-target %{ %python %S/test_errors.py %s %flang --target=aarch64-pc-windows-msvc -Werror %}
subroutine uid