[flang-commits] [flang] [flang] Characterize allocation based on MemAlloc effect instead of pattern matching (PR #166806)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Fri Nov 7 16:04:04 PST 2025


================
@@ -31,8 +31,6 @@ subroutine derived_dummy(some_r, some_c2)
 
 ! CHECK-LABEL: func @_QMdPlocal_derived(
 subroutine local_derived()
-  ! CHECK-DAG: fir.alloca !fir.type<_QMdTc2{ch_array:!fir.array<20x30x!fir.char<1,10>>}>
----------------
vzakhari wrote:

We need to keep these checks by adding fake uses.

https://github.com/llvm/llvm-project/pull/166806


More information about the flang-commits mailing list