[flang-commits] [flang] [flang] Disable 3 x86-64 tests on non-x86-64 (PR #132088)
via flang-commits
flang-commits at lists.llvm.org
Wed Mar 19 12:52:34 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-flang-fir-hlfir
Author: Peter Klausler (klausler)
<details>
<summary>Changes</summary>
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.
---
Full diff: https://github.com/llvm/llvm-project/pull/132088.diff
3 Files Affected:
- (modified) flang/test/Lower/Intrinsics/product.f90 (+1)
- (modified) flang/test/Lower/Intrinsics/sum.f90 (+1)
- (modified) flang/test/Lower/complex-operations.f90 (+1)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/132088
More information about the flang-commits
mailing list