[flang-commits] [flang] [flang] Disable 3 x86-64 tests on non-x86-64 (PR #132088)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Wed Mar 19 12:51:55 PDT 2025
https://github.com/klausler created https://github.com/llvm/llvm-project/pull/132088
Now that COMPLEX(KIND=10) is properly disabled where 80-bit floating-point types are not available, three tests that were not peculiar to x86-64 are failing on other targets. Make them specific to x86-64.
>From 54727d1987df6803c0c423d1cd161a455a7ea65d Mon Sep 17 00:00:00 2001
From: Peter Klausler <pklausler at nvidia.com>
Date: Wed, 19 Mar 2025 12:48:58 -0700
Subject: [PATCH] [flang] Disable 3 x86-64 tests on non-x86-64
Now that COMPLEX(KIND=10) is properly disabled where 80-bit floating-point
types are not available, three tests that were not peculiar to x86-64
are failing on other targets. Make them specific to x86-64.
---
flang/test/Lower/Intrinsics/product.f90 | 1 +
flang/test/Lower/Intrinsics/sum.f90 | 1 +
flang/test/Lower/complex-operations.f90 | 1 +
3 files changed, 3 insertions(+)
diff --git a/flang/test/Lower/Intrinsics/product.f90 b/flang/test/Lower/Intrinsics/product.f90
index b2fc809b15ef3..f5f7cff106cee 100644
--- a/flang/test/Lower/Intrinsics/product.f90
+++ b/flang/test/Lower/Intrinsics/product.f90
@@ -1,3 +1,4 @@
+! REQUIRES: x86_64-registered-target
! RUN: bbc --use-desc-for-alloc=false -emit-fir -hlfir=false %s -o - | FileCheck %s
! CHECK-LABEL: func @_QPproduct_test(
diff --git a/flang/test/Lower/Intrinsics/sum.f90 b/flang/test/Lower/Intrinsics/sum.f90
index 785f20b861f13..d36b2b1263887 100644
--- a/flang/test/Lower/Intrinsics/sum.f90
+++ b/flang/test/Lower/Intrinsics/sum.f90
@@ -1,3 +1,4 @@
+! REQUIRES: x86_64-registered-target
! RUN: bbc --use-desc-for-alloc=false -emit-fir -hlfir=false %s -o - | FileCheck %s
! CHECK-LABEL: func @_QPsum_test(
diff --git a/flang/test/Lower/complex-operations.f90 b/flang/test/Lower/complex-operations.f90
index ccf418e9ad5aa..fdd13719c5b71 100644
--- a/flang/test/Lower/complex-operations.f90
+++ b/flang/test/Lower/complex-operations.f90
@@ -1,4 +1,5 @@
! REQUIRES: flang-supports-f128-math
+! REQUIRES: x86_64-registered-target
! RUN: bbc -hlfir=false %s -o - | FileCheck %s
! CHECK-LABEL: @_QPadd_test
More information about the flang-commits
mailing list