[all-commits] [llvm/llvm-project] 0f0628: [MLIR][Mem2Reg] Change API to always retry promoti...

Christian Ulmann via All-commits all-commits at lists.llvm.org
Wed May 8 08:58:41 PDT 2024


  Branch: refs/heads/users/dinistro/mem2reg-retry-without-rewalking
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f0628b295931ee6e0e2cb210071a3ba09cb58c3
      https://github.com/llvm/llvm-project/commit/0f0628b295931ee6e0e2cb210071a3ba09cb58c3
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2024-05-08 (Wed, 08 May 2024)

  Changed paths:
    M mlir/include/mlir/Transforms/Mem2Reg.h
    M mlir/lib/Transforms/Mem2Reg.cpp

  Log Message:
  -----------
  [MLIR][Mem2Reg] Change API to always retry promotion after changes

This commit modifies the Mem2Reg's API to always attempt a full
promotion on all the passed in "allocators". This ensures that the pass
does not require unnecessary walks over the regions and improves caching
benefits.


  Commit: b7326dfdc64c6c7941964b61ffdebec5110084ab
      https://github.com/llvm/llvm-project/commit/b7326dfdc64c6c7941964b61ffdebec5110084ab
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2024-05-08 (Wed, 08 May 2024)

  Changed paths:
    M mlir/include/mlir/Interfaces/MemorySlotInterfaces.td
    M mlir/lib/Dialect/LLVMIR/IR/LLVMMemorySlot.cpp
    M mlir/lib/Dialect/MemRef/IR/MemRefMemorySlot.cpp
    M mlir/lib/Transforms/Mem2Reg.cpp
    A mlir/test/Transforms/mem2reg.mlir
    M mlir/test/lib/Dialect/Test/TestOpDefs.cpp
    M mlir/test/lib/Dialect/Test/TestOps.h
    M mlir/test/lib/Dialect/Test/TestOps.td

  Log Message:
  -----------
  extend with fix for multi slot allocators


Compare: https://github.com/llvm/llvm-project/compare/c5a6fd716c09...b7326dfdc64c

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