[llvm] [VPlan] Remove special cost logic for loads predicated by header mask. (PR #196630)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun May 24 01:22:16 PDT 2026


================
@@ -3347,7 +3347,7 @@ static const SCEV *getAddressAccessSCEV(const VPValue *Ptr,
   return vputils::isAddressSCEVForCost(Addr, *PSE.getSE(), L) ? Addr : nullptr;
 }
 
-/// Return true if \p R is a predicated load/store with a loop-invariant address
+/// Return true if \p R is a predicated store with a loop-invariant address
 /// only masked by the header mask.
 static bool isPredicatedUniformMemOpAfterTailFolding(const VPReplicateRecipe &R,
----------------
fhahn wrote:

done thanks

https://github.com/llvm/llvm-project/pull/196630


More information about the llvm-commits mailing list