[PATCH] D145163: Add support for vectorization of interleaved memory accesses for scalable VF

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 6 13:18:55 PDT 2023


fhahn accepted this revision.
fhahn added a comment.
This revision is now accepted and ready to land.
Herald added a subscriber: StephenFan.

LGTM, thanks!



================
Comment at: llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp:449
+  if (isa<ScalableVectorType>(VecTy))
+    return InstructionCost::getInvalid();
   auto *FVTy = cast<FixedVectorType>(VecTy);
----------------
Could you make sure there's a test case for RISCV that covers this case before landing?


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

https://reviews.llvm.org/D145163



More information about the llvm-commits mailing list