[PATCH] D24271: [LV] Don't mark pointers used by scalarized memory accesses uniform
Matthew Simpson via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 8 10:44:09 PDT 2016
mssimpso updated this revision to Diff 70724.
mssimpso added a comment.
Implemented changes mentioned in my last comment.
- Restored previous type check when VF is known. We use a conservative estimate when VF is not known.
- Updated getInstructionCost to use the shared scalarization function.
https://reviews.llvm.org/D24271
Files:
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/consecutive-ptr-uniforms.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24271.70724.patch
Type: text/x-patch
Size: 22338 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160908/7f295429/attachment.bin>
More information about the llvm-commits
mailing list