[flang-commits] [flang] [flang] To fix LIT test that AIX does not emit comdat. (PR #214950)
Daniel Chen via flang-commits
flang-commits at lists.llvm.org
Sat Aug 8 16:26:06 PDT 2026
https://github.com/DanielCChen updated https://github.com/llvm/llvm-project/pull/214950
>From 0f86af61a60339a0714fb4f69e60359e38a460fe Mon Sep 17 00:00:00 2001
From: Daniel Chen <cdchen at ca.ibm.com>
Date: Sat, 8 Aug 2026 06:27:23 -0400
Subject: [PATCH] To fix LIT test that AIX does not emit comdat.
---
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 flang-commits
mailing list