[all-commits] [llvm/llvm-project] b08411: [mlir][mem2reg] Fix Mem2Reg attempting to promote ...

Théo Degioanni via All-commits all-commits at lists.llvm.org
Fri Aug 23 06:15:32 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b084111c8e26f96975f505c37d42e992066776f8
      https://github.com/llvm/llvm-project/commit/b084111c8e26f96975f505c37d42e992066776f8
  Author: Théo Degioanni <theo.degioanni.llvm.deluge062 at simplelogin.fr>
  Date:   2024-08-23 (Fri, 23 Aug 2024)

  Changed paths:
    M mlir/lib/Transforms/Mem2Reg.cpp
    M mlir/test/Transforms/mem2reg.mlir
    M mlir/test/lib/Dialect/Test/TestOpDefs.cpp
    M mlir/test/lib/Dialect/Test/TestOps.td

  Log Message:
  -----------
  [mlir][mem2reg] Fix Mem2Reg attempting to promote in graph regions (#104910)

Mem2Reg assumes SSA dependencies but did not check for graph regions.
This fixes it.

---------

Co-authored-by: Christian Ulmann <christianulmann at gmail.com>



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