Skip to content

[flang] convert program name to upper case (NFC) #149508

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
Jul 18, 2025

Conversation

kkwli
Copy link
Collaborator

@kkwli kkwli commented Jul 18, 2025

See #149169

@kkwli kkwli self-assigned this Jul 18, 2025
@llvmbot llvmbot added flang Flang issues not falling into any other category flang:semantics labels Jul 18, 2025
@llvmbot
Copy link
Member

llvmbot commented Jul 18, 2025

@llvm/pr-subscribers-flang-semantics

Author: Kelvin Li (kkwli)

Changes

See #149169


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

2 Files Affected:

  • (modified) flang/test/Semantics/PowerPC/ppc-vector-types01.f90 (+1-1)
  • (modified) flang/test/Semantics/PowerPC/ppc-vector-types02.f90 (+1-1)
diff --git a/flang/test/Semantics/PowerPC/ppc-vector-types01.f90 b/flang/test/Semantics/PowerPC/ppc-vector-types01.f90
index ad69b69a47f76..ea54a00fa4392 100644
--- a/flang/test/Semantics/PowerPC/ppc-vector-types01.f90
+++ b/flang/test/Semantics/PowerPC/ppc-vector-types01.f90
@@ -1,7 +1,7 @@
 ! RUN: %flang_fc1 -fdebug-unparse %s | FileCheck %s
 ! REQUIRES: target=powerpc{{.*}}
 
-    ! CHECK-LABEL: PROGRAM ppc_vec_unit
+    ! CHECK-LABEL: PROGRAM PPC_VEC_UNIT
       program ppc_vec_unit
       implicit none
       ! CHECK: VECTOR(INTEGER(KIND=4_4)) :: vi1, vi2
diff --git a/flang/test/Semantics/PowerPC/ppc-vector-types02.f90 b/flang/test/Semantics/PowerPC/ppc-vector-types02.f90
index 8c96684c50eb7..175b58680a209 100644
--- a/flang/test/Semantics/PowerPC/ppc-vector-types02.f90
+++ b/flang/test/Semantics/PowerPC/ppc-vector-types02.f90
@@ -2,7 +2,7 @@
 ! REQUIRES: target=powerpc{{.*}}
 
 ! C: MainProgram scope: ppc_vec_types
-! CHECK-LABEL: MainProgram scope: ppc_vec_types size={{[0-9]*}} alignment={{[0-9]*}}
+! CHECK-LABEL: MainProgram scope: PPC_VEC_TYPES size={{[0-9]*}} alignment={{[0-9]*}}
 program ppc_vec_types
   implicit none
   vector(integer(4)) :: vi

Copy link
Contributor

@eugeneepshteyn eugeneepshteyn left a comment

Choose a reason for hiding this comment

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

Sorry, I had no idea there were separate PPC tests. Thanks for modifying the tests!

Copy link
Contributor

@DanielCChen DanielCChen left a comment

Choose a reason for hiding this comment

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

LGTM.

@kkwli kkwli merged commit ff5f3ae into llvm:main Jul 18, 2025
12 checks passed
@kkwli kkwli deleted the fix-program-name branch July 18, 2025 15:20
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.

4 participants