Skip to content

Commit 3a17b7b

Browse files
Apply review suggestions
1 parent 3e072be commit 3a17b7b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mlir/lib/Dialect/Math/Transforms/SincosFusion.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#include "mlir/Dialect/Math/IR/Math.h"
1010
#include "mlir/Dialect/Math/Transforms/Passes.h"
1111
#include "mlir/IR/PatternMatch.h"
12-
// #include "mlir/Pass/Pass.h"
1312
#include "mlir/Transforms/GreedyPatternRewriteDriver.h"
1413

1514
using namespace mlir;
@@ -20,7 +19,7 @@ namespace {
2019
/// Fuse a math.sin and math.cos in the same block that use the same operand and
2120
/// have identical fastmath flags into a single math.sincos.
2221
struct SincosFusionPattern : OpRewritePattern<math::SinOp> {
23-
using OpRewritePattern<math::SinOp>::OpRewritePattern;
22+
using Base::Base;
2423

2524
LogicalResult matchAndRewrite(math::SinOp sinOp,
2625
PatternRewriter &rewriter) const override {

0 commit comments

Comments
 (0)