From 4d18b4a7c4fd60fc9e4e5e7f1d968f58a5ffff41 Mon Sep 17 00:00:00 2001 From: Philip Reames Date: Fri, 25 Oct 2019 10:32:48 -0700 Subject: [PATCH] [SCEV] Add a clarifying comment around ExitLimit construction --- llvm/include/llvm/Analysis/ScalarEvolution.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llvm/include/llvm/Analysis/ScalarEvolution.h b/llvm/include/llvm/Analysis/ScalarEvolution.h index 5cbc406..57f84c1 100644 --- a/llvm/include/llvm/Analysis/ScalarEvolution.h +++ b/llvm/include/llvm/Analysis/ScalarEvolution.h @@ -1213,6 +1213,9 @@ private: Predicates.insert(P); } + /// Construct either an exact exit limit from a constant, or an unknown + /// one from a SCEVCouldNotCompute. No other types of SCEVs are allowed + /// as arguments and asserts enforce that internally. /*implicit*/ ExitLimit(const SCEV *E); ExitLimit( -- 2.7.4