[llvm] [SCEV] Move getSCEVAtExit() into ScalarEvolution (PR #225102)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 07:54:55 PDT 2026


================
@@ -968,6 +968,18 @@ class ScalarEvolution {
   /// This is a convenience function which does getSCEVAtScope(getSCEV(V), L).
   LLVM_ABI SCEVUse getSCEVAtScope(Value *V, const Loop *L);
 
+  /// Return the SCEV expression at the specified loop exit. Returns the
+  /// original value if not more precisely value can be computed.
----------------
fhahn wrote:

```suggestion
  /// original value if no more precise value can be computed.
```

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


More information about the llvm-commits mailing list