[all-commits] [llvm/llvm-project] 5e37ee: [MLIR][Mem2Reg][LLVM] Enhance partial load support

Christian Ulmann via All-commits all-commits at lists.llvm.org
Wed Apr 17 08:58:48 PDT 2024


  Branch: refs/heads/users/dinistro/mem2reg-allow-smaller-accesses
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e37eebaa3df3be5f6569320e2dcbcbfde2b4102
      https://github.com/llvm/llvm-project/commit/5e37eebaa3df3be5f6569320e2dcbcbfde2b4102
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2024-04-17 (Wed, 17 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][Mem2Reg][LLVM] Enhance partial load support

This commit improves LLVM dialect's Mem2Reg interfaces to support
promotions of partial loads from larger memory slots. To support this,
the Mem2Reg interface methods are extended with additional data layout
parameters. The data layout is required to determine type sizes to
produce correct conversion sequences.



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