[PATCH] D100175: [VPlan] Add GraphTraits impl to traverse through VPRegionBlock.

Andrei Elovikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 12 11:30:07 PDT 2021


a.elovikov added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/VPlan.h:1866
+  static NodeRef
+  getEntryNode(VPBlockRecursiveTraversalWrapper<const VPBlockBase *> N) {
+    return N.getEntry();
----------------
Would it be possible to pass just `const VPBlockBase *` here? Is the argument here what is usually defined as `using GraphType = <something>`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100175



More information about the llvm-commits mailing list