[PATCH] D29956: [LV] Remove constant-step restriction for vector phi creation
Matthew Simpson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 16 08:33:51 PST 2017
mssimpso updated this revision to Diff 88740.
mssimpso marked 4 inline comments as done.
mssimpso added a comment.
Addressed Michael's comments.
- Used CreateTrunc instead of CreateSExtOrTrunc.
- Marked IRBuilder comment FIXME.
- Changed loop-invariant check to an assertion (InductionDescriptor only allows loop-invariant steps) and simplified.
https://reviews.llvm.org/D29956
Files:
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/induction-step.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29956.88740.patch
Type: text/x-patch
Size: 14445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170216/9192b740/attachment.bin>
More information about the llvm-commits
mailing list