diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-05 22:41:43 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-05 22:41:43 +0000 |
commit | a09d234e773549eaf50a8b724dfd7c6471b58e98 (patch) | |
tree | 905109491ef6c2ea3d99d01fc48af9c2c633e645 /lib/Transforms/Scalar/LICM.cpp | |
parent | 74f516e656e868753314da4d42600cc38891b23d (diff) | |
download | external_llvm-a09d234e773549eaf50a8b724dfd7c6471b58e98.tar.gz external_llvm-a09d234e773549eaf50a8b724dfd7c6471b58e98.tar.bz2 external_llvm-a09d234e773549eaf50a8b724dfd7c6471b58e98.zip |
More LLVMContext-ification.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74807 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LICM.cpp')
-rw-r--r-- | lib/Transforms/Scalar/LICM.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/LICM.cpp b/lib/Transforms/Scalar/LICM.cpp index d6daeca112..2e5864b3a1 100644 --- a/lib/Transforms/Scalar/LICM.cpp +++ b/lib/Transforms/Scalar/LICM.cpp @@ -593,7 +593,7 @@ void LICM::sink(Instruction &I) { if (AI) { std::vector<AllocaInst*> Allocas; Allocas.push_back(AI); - PromoteMemToReg(Allocas, *DT, *DF, CurAST); + PromoteMemToReg(Allocas, *DT, *DF, Context, CurAST); } } } @@ -773,7 +773,7 @@ void LICM::PromoteValuesInLoop() { PromotedAllocas.reserve(PromotedValues.size()); for (unsigned i = 0, e = PromotedValues.size(); i != e; ++i) PromotedAllocas.push_back(PromotedValues[i].first); - PromoteMemToReg(PromotedAllocas, *DT, *DF, CurAST); + PromoteMemToReg(PromotedAllocas, *DT, *DF, Context, CurAST); } /// FindPromotableValuesInLoop - Check the current loop for stores to definite |