[flang-commits] [flang] 3e934dd - [flang][test] Fix test REQUIRES and options for aint.f90 (#146870)
via flang-commits
flang-commits at lists.llvm.org
Mon Jul 7 02:25:44 PDT 2025
Author: David Spickett
Date: 2025-07-07T10:25:41+01:00
New Revision: 3e934dded0d988bdfd0975c117a302721130082a
URL: https://github.com/llvm/llvm-project/commit/3e934dded0d988bdfd0975c117a302721130082a
DIFF: https://github.com/llvm/llvm-project/commit/3e934dded0d988bdfd0975c117a302721130082a.diff
LOG: [flang][test] Fix test REQUIRES and options for aint.f90 (#146870)
This test should have been looking for the "x86" target, not "x86_64".
In the time it's not been running, -target must have been changed to
-triple.
Added:
Modified:
flang/test/Lower/math-lowering/aint.f90
Removed:
################################################################################
diff --git a/flang/test/Lower/math-lowering/aint.f90 b/flang/test/Lower/math-lowering/aint.f90
index 6c7809f8ea1a3..b36fb421d7c8c 100644
--- a/flang/test/Lower/math-lowering/aint.f90
+++ b/flang/test/Lower/math-lowering/aint.f90
@@ -1,10 +1,10 @@
-! REQUIRES: x86_64-registered-target
+! REQUIRES: x86-registered-target
! RUN: bbc -target x86_64-unknown-linux-gnu -emit-fir %s -o - --math-runtime=fast | FileCheck --check-prefixes=ALL %s
-! RUN: %flang_fc1 -target x86_64-unknown-linux-gnu -emit-fir -mllvm -math-runtime=fast %s -o - | FileCheck --check-prefixes=ALL %s
+! RUN: %flang_fc1 -triple x86_64-unknown-linux-gnu -emit-fir -mllvm -math-runtime=fast %s -o - | FileCheck --check-prefixes=ALL %s
! RUN: bbc -target x86_64-unknown-linux-gnu -emit-fir %s -o - --math-runtime=relaxed | FileCheck --check-prefixes=ALL %s
-! RUN: %flang_fc1 -target x86_64-unknown-linux-gnu -emit-fir -mllvm -math-runtime=relaxed %s -o - | FileCheck --check-prefixes=ALL %s
+! RUN: %flang_fc1 -triple x86_64-unknown-linux-gnu -emit-fir -mllvm -math-runtime=relaxed %s -o - | FileCheck --check-prefixes=ALL %s
! RUN: bbc -target x86_64-unknown-linux-gnu -emit-fir %s -o - --math-runtime=precise | FileCheck --check-prefixes=ALL %s
-! RUN: %flang_fc1 -target x86_64-unknown-linux-gnu -emit-fir -mllvm -math-runtime=precise %s -o - | FileCheck --check-prefixes=ALL %s
+! RUN: %flang_fc1 -triple x86_64-unknown-linux-gnu -emit-fir -mllvm -math-runtime=precise %s -o - | FileCheck --check-prefixes=ALL %s
function test_real4(x)
real :: x, test_real4
More information about the flang-commits
mailing list