[llvm] [VPlan] Make canonical IV part of the region (PR #156262)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 14 14:18:25 PDT 2026


================
@@ -835,6 +840,11 @@ void VPRegionBlock::print(raw_ostream &O, const Twine &Indent,
                           VPSlotTracker &SlotTracker) const {
   O << Indent << (isReplicator() ? "<xVFxUF> " : "<x1> ") << getName() << ": {";
   auto NewIndent = Indent + "  ";
+  if (!isReplicator()) {
+    O << '\n';
+    getCanonicalIV()->print(O, SlotTracker);
----------------
fhahn wrote:

updated thanks

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


More information about the llvm-commits mailing list