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 05209f1 commit 7e7a362Copy full SHA for 7e7a362
llvm/lib/Target/Hexagon/RDFCopy.cpp
@@ -133,8 +133,8 @@ bool CopyPropagation::run() {
133
for (NodeId I : Copies) {
134
dbgs() << "Instr: " << *DFG.addr<StmtNode*>(I).Addr->getCode();
135
dbgs() << " eq: {";
136
- if (CopyMap.count(I)) {
137
- for (auto J : CopyMap.at(I))
+ if (auto It = CopyMap.find(I); It != CopyMap.end()) {
+ for (auto J : It->second)
138
dbgs() << ' ' << Print<RegisterRef>(J.first, DFG) << '='
139
<< Print<RegisterRef>(J.second, DFG);
140
}
0 commit comments