[flang-commits] [flang] [Flang][OpenMP] Handle more character allocatable cases in privatization (PR #90449)
Kiran Chandramohan via flang-commits
flang-commits at lists.llvm.org
Mon Apr 29 03:32:01 PDT 2024
================
@@ -28,7 +28,7 @@ subroutine delayed_privatization_allocatable
! CHECK-NEXT: %[[ALLOC_COND:.*]] = arith.cmpi ne, %[[PRIV_ARG_ADDR]], %[[C0]] : i64
! CHECK-NEXT: fir.if %[[ALLOC_COND]] {
-! CHECK-NEXT: %[[PRIV_ALLOCMEM:.*]] = fir.allocmem i32 {fir.must_be_heap = true, uniq_name = "_QFdelayed_privatization_allocatableEvar1.alloc"}
+! CHECK: %[[PRIV_ALLOCMEM:.*]] = fir.allocmem i32 {fir.must_be_heap = true, uniq_name = "_QFdelayed_privatization_allocatableEvar1.alloc"}
----------------
kiranchandramohan wrote:
Couple of lines that of code that reads from the box is generated here. It is not used. The change ignore those lines.
https://github.com/llvm/llvm-project/pull/90449
More information about the flang-commits
mailing list