[llvm] [LoopVectorize] In LoopVectorize.cpp start using getSymbolicMaxBackedgeTakenCount (PR #108833)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 18 02:40:53 PDT 2024
================
@@ -907,7 +907,7 @@ Value *getRuntimeVF(IRBuilderBase &B, Type *Ty, ElementCount VF) {
const SCEV *createTripCountSCEV(Type *IdxTy, PredicatedScalarEvolution &PSE,
Loop *OrigLoop) {
- const SCEV *BackedgeTakenCount = PSE.getBackedgeTakenCount();
+ const SCEV *BackedgeTakenCount = PSE.getSymbolicMaxBackedgeTakenCount();
----------------
fhahn wrote:
I think this would at least need a comment explaining why this is used here, as at the moment this might be very surprising
https://github.com/llvm/llvm-project/pull/108833
More information about the llvm-commits
mailing list