Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions llvm/lib/Analysis/DependenceGraphBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ template <class G> void AbstractDependenceGraphBuilder<G>::createDefUseEdges() {
if (!UI)
continue;
NodeType *DstNode = nullptr;
if (IMap.find(UI) != IMap.end())
DstNode = IMap.find(UI)->second;
if (auto It = IMap.find(UI); It != IMap.end())
DstNode = It->second;

// In the case of loops, the scope of the subgraph is all the
// basic blocks (and instructions within them) belonging to the loop. We
Expand Down