[llvm] [LV][EVL] Generate negative strided load/store for reversed load/store (PR #123608)
Pengcheng Wang via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 21 04:44:34 PST 2025
================
@@ -2628,18 +2628,26 @@ void VPWidenLoadEVLRecipe::execute(VPTransformState &State) {
Value *EVL = State.get(getEVL(), VPLane(0));
Value *Addr = State.get(getAddr(), !CreateGather);
Value *Mask = nullptr;
- if (VPValue *VPMask = getMask()) {
+ if (VPValue *VPMask = getMask())
Mask = State.get(VPMask);
- if (isReverse())
- Mask = createReverseEVL(Builder, Mask, EVL, "vp.reverse.mask");
----------------
wangpc-pp wrote:
Aha, I removed it before but forgot to do it in later commits.
https://github.com/llvm/llvm-project/pull/123608
More information about the llvm-commits
mailing list