[llvm-branch-commits] [flang] cb42065 - [flang] To fix LIT test that AIX does not emit comdat. (#214950)
Douglas Yung via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sat Aug 15 08:45:49 PDT 2026
Author: Daniel Chen
Date: 2026-08-15T15:45:34Z
New Revision: cb42065d334aca14f63bbf16caa44b5b3e6522c2
URL: https://github.com/llvm/llvm-project/commit/cb42065d334aca14f63bbf16caa44b5b3e6522c2
DIFF: https://github.com/llvm/llvm-project/commit/cb42065d334aca14f63bbf16caa44b5b3e6522c2.diff
LOG: [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)
Added:
Modified:
flang/test/Lower/MIF/coarray_dealloc_not_alloc.f90
Removed:
################################################################################
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