[PATCH] D126012: [Scalarizer] No need to gather a scattered extracted element
serge via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 21 05:57:19 PDT 2022
serge-sans-paille updated this revision to Diff 438668.
serge-sans-paille retitled this revision from "[Scalarizer] Support loading from an extracted vector of pointer" to "[Scalarizer] No need to gather a scattered extracted element".
serge-sans-paille edited the summary of this revision.
serge-sans-paille added a comment.
Follow @nikic approach there, it's clean and simple. Just fix a little edge case in the finish routine. Note that I could have checked the size of the cleanup vector, but I felt like a more explicit approach would be better.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126012/new/
https://reviews.llvm.org/D126012
Files:
llvm/lib/Transforms/Scalar/Scalarizer.cpp
llvm/test/Transforms/Scalarizer/global-bug.ll
llvm/test/Transforms/Scalarizer/vector-of-pointer-to-vector.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126012.438668.patch
Type: text/x-patch
Size: 6298 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220621/9ac0a45d/attachment.bin>
More information about the llvm-commits
mailing list