[PATCH] D144476: [GlobalOpt] Extend logic in SRA heuristic to skip stores of initializer.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 6 03:09:30 PST 2023
fhahn updated this revision to Diff 502568.
fhahn added a comment.
Update to use ConstantFoldLoadFromConst to check the initializer value in the specifi field.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144476/new/
https://reviews.llvm.org/D144476
Files:
llvm/lib/Transforms/IPO/GlobalOpt.cpp
llvm/test/Transforms/GlobalOpt/sra-many-stores-initializers.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144476.502568.patch
Type: text/x-patch
Size: 29055 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230306/accd435f/attachment.bin>
More information about the llvm-commits
mailing list