[llvm] change contents of ScalarEvolution from private to protected (PR #83052)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 16 19:52:30 PDT 2024


================
@@ -8950,20 +8977,20 @@ ScalarEvolution::ExitLimit ScalarEvolution::computeExitLimitFromCondImpl(
     if (ExitIfTrue == !CI->getZExtValue())
       // The backedge is always taken.
       return getCouldNotCompute();
+
     // The backedge is never taken.
     return getZero(CI->getType());
   }
 
-  // If we're exiting based on the overflow flag of an x.with.overflow intrinsic
-  // with a constant step, we can form an equivalent icmp predicate and figure
-  // out how many iterations will be taken before we exit.
+  // If we're exiting based on the overflow flag of an x.with.overflow
+  // intrinsic with a constant step, we can form an equivalent icmp predicate
+  // and figure out how many iterations will be taken before we exit.
----------------
nikic wrote:

Unrelated changes.

https://github.com/llvm/llvm-project/pull/83052


More information about the llvm-commits mailing list