[PATCH] D147355: [LV] Optimize trip count SCEV.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 31 13:29:30 PDT 2023


craig.topper added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/VPlan.h:80
+const SCEV *createTripCountSCEV(Type *IdxTy, PredicatedScalarEvolution &PSE,
+                                Loop *CurLoop = nullptr);
 
----------------
There's another call to createTripCountSCEV in VPlanTransforms and it wasn't obvious if it was possible to get the Loop there.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147355



More information about the llvm-commits mailing list