[all-commits] [llvm/llvm-project] 76415d: [MLIR][SROA][Mem2Reg] Add data layout to interface...

Christian Ulmann via All-commits all-commits at lists.llvm.org
Mon Mar 18 07:02:09 PDT 2024


  Branch: refs/heads/users/dinistro/add-dl-to-sroa-and-mem2reg
  Home:   https://github.com/llvm/llvm-project
  Commit: 76415d98f72c6cbc6b2cf221caad16ee52150cd0
      https://github.com/llvm/llvm-project/commit/76415d98f72c6cbc6b2cf221caad16ee52150cd0
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2024-03-18 (Mon, 18 Mar 2024)

  Changed paths:
    M mlir/include/mlir/Interfaces/MemorySlotInterfaces.td
    M mlir/include/mlir/Transforms/Mem2Reg.h
    M mlir/include/mlir/Transforms/SROA.h
    M mlir/lib/Dialect/LLVMIR/IR/LLVMMemorySlot.cpp
    M mlir/lib/Dialect/MemRef/IR/MemRefMemorySlot.cpp
    M mlir/lib/Transforms/Mem2Reg.cpp
    M mlir/lib/Transforms/SROA.cpp

  Log Message:
  -----------
  [MLIR][SROA][Mem2Reg] Add data layout to interface methods

This commit expends the Mem2Reg and SROA interface methods with passed
in handles to a `DataLayout` structure. This is done to avoid
superfluous retreiving of data layouts during each conversion of
intrinsics.

This change, additionally, enables subsequent changes to make the LLVM
dialect implementation of these interfaces type agnostic.



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