[llvm] [VPlan] Implement interleaving as VPlan-to-VPlan transform. (PR #95842)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 14 13:03:38 PDT 2024


================
@@ -1254,6 +1262,10 @@ void VPlanIngredient::print(raw_ostream &O) const {
 
 template void DomTreeBuilder::Calculate<VPDominatorTree>(VPDominatorTree &DT);
 
+bool VPValue::isDefinedOutsideVectorRegions() const {
+  return !hasDefiningRecipe() || !getDefiningRecipe()->getParent()->getParent();
----------------
fhahn wrote:

Updated, thanks! Might be best to rename uses of vector region to loop region, as we also handle the interleaving-only case?

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


More information about the llvm-commits mailing list