mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Finish LLVMContext-ing lib/Analysis. This required pushing LLVMContext's through the ValueTracking API.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74873 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -642,7 +642,7 @@ void SCCPSolver::visitReturnInst(ReturnInst &I) {
|
||||
DenseMap<std::pair<Function*, unsigned>, LatticeVal>::iterator
|
||||
It = TrackedMultipleRetVals.find(std::make_pair(F, i));
|
||||
if (It == TrackedMultipleRetVals.end()) break;
|
||||
if (Value *Val = FindInsertedValue(I.getOperand(0), i))
|
||||
if (Value *Val = FindInsertedValue(I.getOperand(0), i, Context))
|
||||
mergeInValue(It->second, F, getValueState(Val));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user