commit | 73dbbea55584aa3095de97e379e367916fe36ed2 | [log] [tgz] |
---|---|---|
author | Christian Ulmann <christianulmann@gmail.com> | Thu Apr 18 13:09:16 2024 +0200 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Apr 18 04:15:03 2024 -0700 |
tree | 5d2c354637905c1563bdd092ace7fa98c4a33ccd | |
parent | 90cf2c3315cf9c86d221718f0c44c767c1a9eb96 [diff] |
[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. GitOrigin-RevId: ac39fa740b067f6197dca1caecc97c0da91ebf3d
See https://mlir.llvm.org/ for more information.