diff --git a/llvm/include/llvm/Analysis/ScalarEvolutionExpander.h b/llvm/include/llvm/Analysis/ScalarEvolutionExpander.h index f5ebceb85643de5749f51987a3f206f3e41cbc5b..44e8fb0a9a5b5300b3f152fdb0650edcaa019a06 100644 --- a/llvm/include/llvm/Analysis/ScalarEvolutionExpander.h +++ b/llvm/include/llvm/Analysis/ScalarEvolutionExpander.h @@ -73,6 +73,8 @@ namespace llvm { InsertedInstructions.insert(I); } + Instruction *getInsertionPoint() const { return InsertPt; } + /// expandCodeFor - Insert code to directly compute the specified SCEV /// expression into the program. The inserted code is inserted into the /// specified block.