Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 26, 2024
Merged

Conversation

kkwli
Copy link
Collaborator

@kkwli kkwli commented Aug 23, 2024

No description provided.

@kkwli kkwli requested a review from rorth August 23, 2024 16:49
@kkwli kkwli self-assigned this Aug 23, 2024
@llvmbot llvmbot added flang Flang issues not falling into any other category flang:semantics labels Aug 23, 2024
@llvmbot
Copy link
Member

llvmbot commented Aug 23, 2024

@llvm/pr-subscribers-flang-semantics

Author: Kelvin Li (kkwli)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/105854.diff

1 Files Affected:

  • (modified) flang/test/Semantics/data08.f90 (+1-1)
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

Copy link
Collaborator

@rorth rorth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on both Solaris/sparcv9 and Solaris/amd64: worked just fine on both. Thanks.

@kkwli kkwli merged commit 914fa67 into llvm:main Aug 26, 2024
11 checks passed
@kkwli kkwli deleted the fix-data08 branch August 26, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flang:semantics flang Flang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants