[flang-commits] [flang] [flang] Add target=sparc check for big endian (NFC) (PR #105854)

Kelvin Li via flang-commits flang-commits at lists.llvm.org
Fri Aug 23 09:49:58 PDT 2024


https://github.com/kkwli created https://github.com/llvm/llvm-project/pull/105854

None

>From 30a5a1ceed6da115d57b46220b18fb1f261c9f99 Mon Sep 17 00:00:00 2001
From: Kelvin Li <kli at ca.ibm.com>
Date: Fri, 23 Aug 2024 12:45:46 -0400
Subject: [PATCH] [flang] Add target=sparc check for big endian (NFC)

---
 flang/test/Semantics/data08.f90 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flang/test/Semantics/data08.f90 b/flang/test/Semantics/data08.f90
index 7e12a71d117728..84cd6d1c125dbb 100644
--- a/flang/test/Semantics/data08.f90
+++ b/flang/test/Semantics/data08.f90
@@ -1,5 +1,5 @@
 ! RUN: %flang_fc1 -fdebug-dump-symbols -pedantic %s 2>&1 | FileCheck %s \
-! RUN:   --check-prefixes=%if system-aix %{"CHECK","BE"%} \
+! RUN:   --check-prefixes=%if target={{.*-aix.*|sparc.*}} %{"CHECK","BE"%} \
 ! RUN:                    %else %{"CHECK","LE"%}
 
 ! CHECK: DATA statement value initializes 'jx' of type 'INTEGER(4)' with CHARACTER



More information about the flang-commits mailing list