[Mlir-commits] [llvm] [mlir] Add missing return on nullptr check (PR #92125)
Daniel Kuts
llvmlistbot at llvm.org
Tue May 14 10:11:20 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";
----------------
apach301 wrote:
Yes, it fixes second bug described in #92123
https://github.com/llvm/llvm-project/pull/92125
More information about the Mlir-commits
mailing list