[llvm] [LV][EVL]Support reversed loads/stores. (PR #88025)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 26 09:58:59 PDT 2024
================
@@ -9385,6 +9376,16 @@ void VPWidenLoadEVLRecipe::execute(VPTransformState &State) {
Value *Mask = getMask()
? State.get(getMask(), 0)
: Builder.CreateVectorSplat(State.VF, Builder.getTrue());
+ if (isReverse() && getMask()) {
+ VectorType *MaskTy = cast<VectorType>(Mask->getType());
+ Mask = Builder.CreateIntrinsic(
----------------
alexey-bataev wrote:
Done
https://github.com/llvm/llvm-project/pull/88025
More information about the llvm-commits
mailing list