We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5365bd commit 63a09acCopy full SHA for 63a09ac
llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp
@@ -2332,8 +2332,9 @@ void ComplexDeinterleavingGraph::replaceNodes() {
2332
} else if (RootNode->Operation ==
2333
ComplexDeinterleavingOperation::ReductionSingle) {
2334
auto *RootInst = cast<Instruction>(RootNode->Real);
2335
- ReductionInfo[RootInst].first->removeIncomingValue(BackEdge);
2336
- DeadInstrRoots.push_back(ReductionInfo[RootInst].second);
+ auto &Info = ReductionInfo[RootInst];
+ Info.first->removeIncomingValue(BackEdge);
2337
+ DeadInstrRoots.push_back(Info.second);
2338
} else {
2339
assert(R && "Unable to find replacement for RootInstruction");
2340
DeadInstrRoots.push_back(RootInstruction);
0 commit comments