[PATCH] D31910: [LV] Avoid vectorizing first order recurrences when phi used outside loop

Anna Thomas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 11 14:15:16 PDT 2017


anna added a comment.

In https://reviews.llvm.org/D31910#724195, @mssimpso wrote:

> 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!


Yes, done.


Repository:
  rL LLVM

https://reviews.llvm.org/D31910





More information about the llvm-commits mailing list