[PATCH] D16057: [SROA] Fix for PR25873: Pre-splitting should always preserve the partition structure.
Andrea Di Biagio via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 3 04:33:33 PST 2016
andreadb updated this revision to Diff 46768.
andreadb added a comment.
Patch updated based on Chandler's review comments.
I have added a map from stores to slices. That map is populated when we initially scan through the slices of the alloca in 'presplitLoadsAndStores'.
I have also simplified the code adding an early continue as suggested.
Please let me know if this is ok to commit.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4725 bytes
Desc: not available
More information about the llvm-commits