[llvm] [Matrix] Don't update Changed based on Visit* return value (NFC). (PR #142487)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 5 08:17:57 PDT 2025
================
@@ -1056,19 +1056,24 @@ class LowerMatrixIntrinsics {
IRBuilder<> Builder(Inst);
+ const ShapeInfo &SI = ShapeMap.at(Inst);
+
if (CallInst *CInst = dyn_cast<CallInst>(Inst))
- Changed |= VisitCallInst(CInst);
+ Changed |= tryVisitCallInst(CInst);
----------------
fhahn wrote:
I think this should also never fail I think, we should only have shape info for calls we can lower here. If not, `ShapeMap.at()` above would fail.
https://github.com/llvm/llvm-project/pull/142487
More information about the llvm-commits
mailing list