[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 04:23:15 PST 2023


fhahn updated this revision to Diff 502584.
fhahn marked 2 inline comments as done.
fhahn added a comment.

Use existing offset directly.


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.502584.patch
Type: text/x-patch
Size: 28593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230306/5ddbd9e6/attachment.bin>


More information about the llvm-commits mailing list