[PATCH] D115111: [VPlan] Add InductionDescriptor to VPWidenIntOrFpInduction. (NFC)

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 10 01:57:00 PST 2021


fhahn marked 3 inline comments as done.
fhahn added inline comments.


================
Comment at: llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h:313
 
+  /// Returns a pointer to the induction descriptor, if \p Phi is an integer for
+  /// floating point induction.
----------------
Ayal wrote:
> [f]or
Thanks, should be fixed in the committed version.


================
Comment at: llvm/lib/Transforms/Vectorize/VPlan.h:1067
+
+  /// Returns to induction descriptor for the recipe.
+  const InductionDescriptor &getInductionDescriptor() const { return IndDesc; }
----------------
Ayal wrote:
> to >> the
Thanks, should be fixed in the committed version.


================
Comment at: llvm/lib/Transforms/Vectorize/VPlanTransforms.h:25
 class ScalarEvolution;
+class PHINode;
 
----------------
Ayal wrote:
> Lex order.
Thanks, should be fixed in the committed version.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115111



More information about the llvm-commits mailing list