[llvm] [VPlan] Add initial VPScalarEvolution, use to get trip count SCEV (NFC) (PR #94464)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 17 02:35:33 PDT 2024
================
@@ -905,8 +905,9 @@ Value *getRuntimeVF(IRBuilderBase &B, Type *Ty, ElementCount VF) {
return B.CreateElementCount(Ty, VF);
}
-const SCEV *createTripCountSCEV(Type *IdxTy, PredicatedScalarEvolution &PSE,
- Loop *OrigLoop) {
+static const SCEV *createTripCountSCEV(Type *IdxTy,
+ PredicatedScalarEvolution &PSE,
+ Loop *OrigLoop) {
----------------
fhahn wrote:
Thanks, updated the PR to also inline `createTripCountSCEV`.
https://github.com/llvm/llvm-project/pull/94464
More information about the llvm-commits
mailing list