[llvm] change contents of ScalarEvolution from private to protected (PR #83052)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 6 00:51:38 PST 2024
================
@@ -9076,12 +9198,134 @@ ScalarEvolution::ExitLimit ScalarEvolution::computeExitLimitFromICmp(
const SCEV *LHS = getSCEV(ExitCond->getOperand(0));
const SCEV *RHS = getSCEV(ExitCond->getOperand(1));
+ if (!AssumeLoopExists) {
+ ExitLimit EL = computeExitLimitFromICmp(L, Pred, LHS, RHS, ControlsOnlyExit,
----------------
nikic wrote:
This code should probably be integrated in computeExitLimitFromICmp?
https://github.com/llvm/llvm-project/pull/83052
More information about the llvm-commits
mailing list