[flang-commits] [flang] a0ae88b - [flang] Disable 3 x86-64 tests on non-x86-64 (#132088)

via flang-commits flang-commits at lists.llvm.org
Wed Mar 19 12:53:03 PDT 2025


Author: Peter Klausler
Date: 2025-03-19T12:52:59-07:00
New Revision: a0ae88bffea766f4c79d51674b81b5d5db825d33

URL: https://github.com/llvm/llvm-project/commit/a0ae88bffea766f4c79d51674b81b5d5db825d33
DIFF: https://github.com/llvm/llvm-project/commit/a0ae88bffea766f4c79d51674b81b5d5db825d33.diff

LOG: [flang] Disable 3 x86-64 tests on non-x86-64 (#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.

Added: 
    

Modified: 
    flang/test/Lower/Intrinsics/product.f90
    flang/test/Lower/Intrinsics/sum.f90
    flang/test/Lower/complex-operations.f90

Removed: 
    


################################################################################
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