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 ef1128b commit bfa6a6fCopy full SHA for bfa6a6f
llvm/lib/Target/X86/X86LowerAMXType.cpp
@@ -154,8 +154,8 @@ class ShapeCalculator {
154
155
Value *ShapeCalculator::getRowFromCol(Instruction *II, Value *V,
156
unsigned Granularity) {
157
- if (Col2Row.count(V))
158
- return Col2Row[V];
+ if (auto It = Col2Row.find(V); It != Col2Row.end())
+ return It->second;
159
IRBuilder<> Builder(II);
160
Value *RealRow = nullptr;
161
if (isa<ConstantInt>(V))
0 commit comments