[Mlir-commits] [llvm] [mlir] Add missing return on nullptr check (PR #92125)
Mital Ashok
llvmlistbot at llvm.org
Tue May 14 10:17:15 PDT 2024
================
@@ -654,7 +654,7 @@ LogicalResult transform::ApplyConversionPatternsOp::verify() {
InFlightDiagnostic diag = emitOpError()
<< "expected default converter child op to "
"implement TypeConverterBuilderOpInterface";
- diag.attachNote(typeConverterOp->getLoc()) << "op without interface";
+ diag.attachNote(typeConverterRegion.front().front()->getLoc()) << "op without interface";
----------------
MitalAshok wrote:
This should be `.getLoc()` not `->getLoc()`
https://github.com/llvm/llvm-project/pull/92125
More information about the Mlir-commits
mailing list