[PATCH] D31910: [LV] Avoid vectorizing first order recurrences when phi used outside loop
Matthew Simpson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 11 13:51:47 PDT 2017
mssimpso accepted this revision.
mssimpso added a comment.
This revision is now accepted and ready to land.
The added @extract_last_iteration test isn't really checking anything - it get's completely simplified by InstCombine, and the first-order recurrence isn't even used outside the loop so it's not affected by the patch. I would just remove it (you might have already meant to do this). Otherwise, this patch LGTM. Thanks!
https://reviews.llvm.org/D31910
More information about the llvm-commits
mailing list