[all-commits] [llvm/llvm-project] e3cd88: [flang] Fixed StackArrays assertion after #121919....

Slava Zakharin via All-commits all-commits at lists.llvm.org
Mon Jan 13 11:56:33 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3cd88a7be1dfd912bb6e7c7e888e7b442ffb5de
      https://github.com/llvm/llvm-project/commit/e3cd88a7be1dfd912bb6e7c7e888e7b442ffb5de
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2025-01-13 (Mon, 13 Jan 2025)

  Changed paths:
    M flang/lib/Optimizer/Transforms/StackArrays.cpp
    M flang/test/Transforms/stack-arrays.fir

  Log Message:
  -----------
  [flang] Fixed StackArrays assertion after #121919. (#122550)

`findAllocaLoopInsertionPoint()` hit assertion not being able
to find the `fir.freemem` because of the `fir.convert`.
I think it is better to look for `fir.freemem` same way
with the look-through walk.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list