[llvm-branch-commits] [flang] release/23.x: [flang] To fix LIT test that AIX does not emit comdat. (#214950) (PR #216044)
Douglas Yung via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sat Aug 15 08:45:49 PDT 2026
https://github.com/dyung updated https://github.com/llvm/llvm-project/pull/216044
>From cb42065d334aca14f63bbf16caa44b5b3e6522c2 Mon Sep 17 00:00:00 2001
From: Daniel Chen <cdchen at ca.ibm.com>
Date: Sat, 8 Aug 2026 20:03:43 -0400
Subject: [PATCH] [flang] To fix LIT test that AIX does not emit comdat.
(#214950)
PR #213890 added this new LIT test.
However, AIX uses XCOFF and does not emit COFF COMDAT.
(cherry picked from commit 31749521e7b9f1cb93c9554133ab0a6d181fd8c7)
---
flang/test/Lower/MIF/coarray_dealloc_not_alloc.f90 | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/flang/test/Lower/MIF/coarray_dealloc_not_alloc.f90 b/flang/test/Lower/MIF/coarray_dealloc_not_alloc.f90
index 5575a411dae14..44e31704c0055 100644
--- a/flang/test/Lower/MIF/coarray_dealloc_not_alloc.f90
+++ b/flang/test/Lower/MIF/coarray_dealloc_not_alloc.f90
@@ -1,6 +1,6 @@
! RUN: %flang_fc1 -emit-llvm -fcoarray %s -o - 2>&1 | FileCheck %s --check-prefix=LLVM
-! LLVM: @_QFB1Ekk_coarray_handle = linkonce global %_QM__fortran_builtinsT__builtin_prif_coarray_handle_type zeroinitializer, comdat
+! LLVM: @_QFB1Ekk_coarray_handle = linkonce global %_QM__fortran_builtinsT__builtin_prif_coarray_handle_type zeroinitializer{{.*}}
! LLVM-LABEL: @_QQmain()
! LLVM: call void @_QMprifPprif_deallocate_coarray(ptr @_QFB1Ekk_coarray_handle, ptr null, ptr null, ptr null)
@@ -11,4 +11,3 @@
allocatable :: kk(:)[:]
endblock
end
-
More information about the llvm-branch-commits
mailing list