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 44f638f commit 3cd0a8fCopy full SHA for 3cd0a8f
llvm/lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp
@@ -262,8 +262,7 @@ bool Coloring::color() {
262
263
// Explicitly assign "None" to all uncolored nodes.
264
for (unsigned I = 0; I != Order.size(); ++I)
265
- if (Colors.count(I) == 0)
266
- Colors[I] = ColorKind::None;
+ Colors.try_emplace(I, ColorKind::None);
267
268
return true;
269
}
0 commit comments