diff options
author | Christian Ulmann <christianulmann@gmail.com> | 2024-04-18 13:09:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-18 13:09:16 +0200 |
commit | ac39fa740b067f6197dca1caecc97c0da91ebf3d (patch) | |
tree | 7cfe1e2c8b3ad1627189f1afe3559c90adb5ea5d /llvm/lib/Analysis/ConstantFolding.cpp | |
parent | 8d6a9c05f6d676c93c84ebf06cf6263657e74c00 (diff) | |
download | llvm-ac39fa740b067f6197dca1caecc97c0da91ebf3d.zip llvm-ac39fa740b067f6197dca1caecc97c0da91ebf3d.tar.gz llvm-ac39fa740b067f6197dca1caecc97c0da91ebf3d.tar.bz2 |
[MLIR][Mem2Reg][LLVM] Enhance partial load support (#89094)
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.
Note: There will be additional followups that introduce a similar
functionality for stores, and there are plans to support accesses into
the middle of memory slots.
Diffstat (limited to 'llvm/lib/Analysis/ConstantFolding.cpp')
0 files changed, 0 insertions, 0 deletions