[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
================
@@ -1107,7 +1112,7 @@ class LowerMatrixIntrinsics {
}
/// Replace intrinsic calls
- bool VisitCallInst(CallInst *Inst) {
+ bool tryVisitCallInst(CallInst *Inst) {
if (!Inst->getCalledFunction() || !Inst->getCalledFunction()->isIntrinsic())
----------------
fhahn wrote:
This should never happen I think, this should be only called with intrinsics we can handle. Same for the default case. Maybe leave the name as as for now?
https://github.com/llvm/llvm-project/pull/142487
More information about the llvm-commits
mailing list