forked from OSchip/llvm-project
[mlir] Address compiler warning (NFC)
Mark overridden virtual function.
This commit is contained in:
parent
329b0181c3
commit
4fe5543b3c
|
@ -39,7 +39,7 @@ struct Conv2DIsFullyConnected : public OpRewritePattern<tosa::Conv2DOp> {
|
|||
: OpRewritePattern(context) {}
|
||||
|
||||
LogicalResult matchAndRewrite(tosa::Conv2DOp op,
|
||||
PatternRewriter &rewriter) const {
|
||||
PatternRewriter &rewriter) const override {
|
||||
Value input = op.input();
|
||||
Value weight = op.weight();
|
||||
ShapedType inputType = input.getType().cast<ShapedType>();
|
||||
|
@ -126,7 +126,7 @@ struct DepthwiseConv2DIsMul : public OpRewritePattern<tosa::DepthwiseConv2DOp> {
|
|||
: OpRewritePattern(context) {}
|
||||
|
||||
LogicalResult matchAndRewrite(tosa::DepthwiseConv2DOp op,
|
||||
PatternRewriter &rewriter) const {
|
||||
PatternRewriter &rewriter) const override {
|
||||
Value input = op.input();
|
||||
Value weight = op.weight();
|
||||
ShapedType inputType = input.getType().cast<ShapedType>();
|
||||
|
|
Loading…
Reference in New Issue