[PATCH] D30710: [LV] Vectorize GEPs
Matthew Simpson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 20 10:44:22 PDT 2017
mssimpso updated this revision to Diff 92355.
mssimpso marked an inline comment as done.
mssimpso added a comment.
Addressed feedback from Michael and Elena.
- Updated comment.
- Added two new test cases. In the first, we have a loop-varying GEP that is stored to memory, and in the second, we have a loop-invariant GEP that is stored to memory. In the first, we create a vector GEP, and in the second, we recreate the scalar GEP and then broadcast it.
https://reviews.llvm.org/D30710
Files:
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/X86/consecutive-ptr-uniforms.ll
test/Transforms/LoopVectorize/X86/scatter_crash.ll
test/Transforms/LoopVectorize/vector-geps.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30710.92355.patch
Type: text/x-patch
Size: 28479 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170320/42aed8bf/attachment.bin>
More information about the llvm-commits
mailing list