[PATCH] D129221: [RISCV] Switch to using get.active.lane.mask when tail folding

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 7 08:43:16 PDT 2022


reames added a comment.

In D129221#3633717 <https://reviews.llvm.org/D129221#3633717>, @craig.topper wrote:

> I don't see a vector IV being killed off in any of the changed tests. Am I missing something?

No, you're completely right, I got myself confused.  The vectorizer internally represents this with a test on a newly introduced vector IV, but then later generation handling (still in the vectorizer) converts that back into a use of the scalar one + a broadcast.  So the actual code generated doesn't involve the vector IV at all.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129221/new/

https://reviews.llvm.org/D129221



More information about the llvm-commits mailing list