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

Christian Ulmann via All-commits all-commits at lists.llvm.org
Tue Mar 19 09:22:52 PDT 2024


  Branch: refs/heads/users/dinistro/add-dl-to-sroa-and-mem2reg
  Home:   https://github.com/llvm/llvm-project
  Commit: bfa69f92486e41c6784cf5ae89ddf1f6e7dcb1d0
      https://github.com/llvm/llvm-project/commit/bfa69f92486e41c6784cf5ae89ddf1f6e7dcb1d0
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2024-03-19 (Tue, 19 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