Skip to content

Commit 4d18b4a

Browse files
committed
[SCEV] Add a clarifying comment around ExitLimit construction
1 parent 7a2b704 commit 4d18b4a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/include/llvm/Analysis/ScalarEvolution.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,6 +1213,9 @@ class ScalarEvolution {
12131213
Predicates.insert(P);
12141214
}
12151215

1216+
/// Construct either an exact exit limit from a constant, or an unknown
1217+
/// one from a SCEVCouldNotCompute. No other types of SCEVs are allowed
1218+
/// as arguments and asserts enforce that internally.
12161219
/*implicit*/ ExitLimit(const SCEV *E);
12171220

12181221
ExitLimit(

0 commit comments

Comments
 (0)