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 a760840 commit a62ef50Copy full SHA for a62ef50
llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
@@ -2272,8 +2272,8 @@ class LowerMatrixIntrinsics {
2272
if (auto *MatrixInst = dyn_cast<Instruction>(MatrixVal)) {
2273
if (auto MaybeIP = MatrixInst->getInsertionPointAfterDef())
2274
Builder.SetInsertPoint(*MaybeIP);
2275
- } else
2276
- Builder.SetInsertPoint(Inst->getIterator());
+ } else if (auto MaybeIP = Inst->getInsertionPointAfterDef())
+ Builder.SetInsertPoint(*MaybeIP);
2277
2278
return this->getMatrix(MatrixVal, SI, Builder);
2279
};
0 commit comments