diff options
-rw-r--r-- | include/llvm/Analysis/ScalarEvolutionExpander.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Analysis/ScalarEvolutionExpander.h b/include/llvm/Analysis/ScalarEvolutionExpander.h index 3e05ab0c09..daf82dc853 100644 --- a/include/llvm/Analysis/ScalarEvolutionExpander.h +++ b/include/llvm/Analysis/ScalarEvolutionExpander.h @@ -41,6 +41,8 @@ namespace llvm { public: SCEVExpander(ScalarEvolution &se, LoopInfo &li) : SE(se), LI(li) {} + LoopInfo &getLoopInfo() const { return LI; } + /// clear - Erase the contents of the InsertedExpressions map so that users /// trying to expand the same expression into multiple BasicBlocks or /// different places within the same BasicBlock can do so. |