[PATCH] D144445: [AggressiveInstCombine] folding load for constant global patterened arrays and structs

Kohei Asano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 14 23:03:20 PDT 2023


khei4 updated this revision to Diff 505374.
khei4 added a comment.

refactoring

- remove `LoadSize`
- rename variables
- fix intermediate `APInt` bit size to `GVSize * 8`


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144445/new/

https://reviews.llvm.org/D144445

Files:
  llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
  llvm/test/Transforms/AggressiveInstCombine/patterned-load.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144445.505374.patch
Type: text/x-patch
Size: 8986 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230315/1d3d4138/attachment.bin>


More information about the llvm-commits mailing list