[PATCH] D128342: [LoopVectorize] Disable tail-folding when masked interleaved accesses are unavailable

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 29 01:16:16 PDT 2022


david-arm added a comment.

Hi @dmgreen, I can certainly look into this! I'd just assumed that trying to have predicated loops for targets that don't have masked interleaved accesses would be bad in general that's all. It means falling back on gather/scatters or scalarising, either of which is usually very expensive.

It looks like in LoopVectorizePass::processLoop we set up the InterleavedAccessInfo object after we've called getScalarEpilogueLowering, which is a shame but perhaps I can shuffle things around.


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

https://reviews.llvm.org/D128342



More information about the llvm-commits mailing list