[all-commits] [llvm/llvm-project] c3d69e: [mlir][mem2reg] Process direct uses inside other r...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Tue Mar 24 15:30:07 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c3d69eda36f10488512bf2ca4295fc07d096b489
      https://github.com/llvm/llvm-project/commit/c3d69eda36f10488512bf2ca4295fc07d096b489
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2026-03-24 (Tue, 24 Mar 2026)

  Changed paths:
    M mlir/lib/Transforms/Mem2Reg.cpp
    M mlir/test/Dialect/LLVMIR/mem2reg.mlir

  Log Message:
  -----------
  [mlir][mem2reg] Process direct uses inside other regions. (#188359)

We need to add the regions with the direct uses into the list
for processing, otherwise the direct uses will not be removed
and will use the slot after the promotion.

The added LIT test was triggering "after promotion, the slot pointer
should not be used anymore" assertion.



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