File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
mlir/lib/Conversion/StandardToStandard Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,21 +20,21 @@ struct CallOpSignatureConversion : public OpConversionPattern<CallOp> {
2020 : OpConversionPattern(ctx), converter(converter) {}
2121
2222 // / Hook for derived classes to implement combined matching and rewriting.
23- PatternMatchResult
23+ LogicalResult
2424 matchAndRewrite (CallOp callOp, ArrayRef<Value> operands,
2525 ConversionPatternRewriter &rewriter) const override {
2626 FunctionType type = callOp.getCalleeType ();
2727
2828 // Convert the original function results.
2929 SmallVector<Type, 1 > convertedResults;
3030 if (failed (converter.convertTypes (type.getResults (), convertedResults)))
31- return matchFailure ();
31+ return failure ();
3232
3333 // Substitute with the new result types from the corresponding FuncType
3434 // conversion.
3535 rewriter.replaceOpWithNewOp <CallOp>(callOp, callOp.callee (),
3636 convertedResults, operands);
37- return matchSuccess ();
37+ return success ();
3838 }
3939
4040 // / The type converter to use when rewriting the signature.
You can’t perform that action at this time.
0 commit comments