[all-commits] [llvm/llvm-project] 2a277b: [MLIR][LLVM][Mem2Reg] Extends support for partial ...

Christian Ulmann via All-commits all-commits at lists.llvm.org
Wed Apr 24 05:24:13 PDT 2024


  Branch: refs/heads/users/dinistro/mem2reg-smaller-store-support
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a277b456fe6505bc35e422dbced82d21ea481e9
      https://github.com/llvm/llvm-project/commit/2a277b456fe6505bc35e422dbced82d21ea481e9
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2024-04-24 (Wed, 24 Apr 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
    M mlir/test/Dialect/LLVMIR/mem2reg.mlir

  Log Message:
  -----------
  [MLIR][LLVM][Mem2Reg] Extends support for partial stores

This commit enhances the LLVM dialect's Mem2Reg interfaces to support
partial stores to memory slots. To achieve this support, the
`getStored` interface method has to be extended with a parameter of the
reaching definition, which is now necessary to produce the resulting
value after this store.


  Commit: 531ce38e2337f3b87cbf1652da70c9ab26bc318b
      https://github.com/llvm/llvm-project/commit/531ce38e2337f3b87cbf1652da70c9ab26bc318b
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2024-04-24 (Wed, 24 Apr 2024)

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

  Log Message:
  -----------
  address review comments


  Commit: d97edecfd8bbb421ca8273e2721ea19887b33589
      https://github.com/llvm/llvm-project/commit/d97edecfd8bbb421ca8273e2721ea19887b33589
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2024-04-24 (Wed, 24 Apr 2024)

  Changed paths:
    M mlir/lib/Dialect/LLVMIR/IR/LLVMMemorySlot.cpp
    M mlir/lib/Transforms/Mem2Reg.cpp

  Log Message:
  -----------
  address review comments


Compare: https://github.com/llvm/llvm-project/compare/e52a703346a3...d97edecfd8bb

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