[all-commits] [llvm/llvm-project] 98c6bc: [MLIR][SROA][Mem2Reg] Add data layout to interface...
Christian Ulmann via All-commits
all-commits at lists.llvm.org
Wed Mar 20 06:22:18 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 98c6bc531d091215896087b94e4e047c67f892c2
https://github.com/llvm/llvm-project/commit/98c6bc531d091215896087b94e4e047c67f892c2
Author: Christian Ulmann <christianulmann at gmail.com>
Date: 2024-03-20 (Wed, 20 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 (#85644)
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