[PATCH] D56527: [X86] Add versions of the avx512 gather intrinsics that take the mask as a vXi1 vector instead of a scalar

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 15 08:46:59 PST 2019


craig.topper added a comment.

Yeah that’s the issue. The software interface for the intrinsics passes base, index, and scale separately. The generic intrinsics expect a GEP they can extract the info from. I suppose with the right casting we could form a GEP, but that seems ugly.

I do want to push the out of tree users to use the generic versions where possible since they’re doing something similar to the loop vectorizer rather than the software intrinsics. So they should be better able to form a vector GEP from the scalar GEP they probably already have.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D56527





More information about the llvm-commits mailing list