[llvm] [VPlan] Enable vectorization of early-exit loops with unit-stride fault-only-first loads (PR #151300)
Shih-Po Hung via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 2 23:25:33 PDT 2025
================
@@ -107,6 +108,7 @@ bool VPRecipeBase::mayReadFromMemory() const {
return cast<VPInstruction>(this)->opcodeMayReadOrWriteFromMemory();
case VPWidenLoadEVLSC:
case VPWidenLoadSC:
+ case VPWidenFFLoadSC:
----------------
arcbbb wrote:
I lean toward treating VPWidenFFLoad as side‑effecting since it returns vector length, similar to VPInstruction::ExplicitVectorLength.
https://github.com/llvm/llvm-project/pull/151300
More information about the llvm-commits
mailing list