We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e072be commit 3a17b7bCopy full SHA for 3a17b7b
mlir/lib/Dialect/Math/Transforms/SincosFusion.cpp
@@ -9,7 +9,6 @@
9
#include "mlir/Dialect/Math/IR/Math.h"
10
#include "mlir/Dialect/Math/Transforms/Passes.h"
11
#include "mlir/IR/PatternMatch.h"
12
-// #include "mlir/Pass/Pass.h"
13
#include "mlir/Transforms/GreedyPatternRewriteDriver.h"
14
15
using namespace mlir;
@@ -20,7 +19,7 @@ namespace {
20
19
/// Fuse a math.sin and math.cos in the same block that use the same operand and
21
/// have identical fastmath flags into a single math.sincos.
22
struct SincosFusionPattern : OpRewritePattern<math::SinOp> {
23
- using OpRewritePattern<math::SinOp>::OpRewritePattern;
+ using Base::Base;
24
25
LogicalResult matchAndRewrite(math::SinOp sinOp,
26
PatternRewriter &rewriter) const override {
0 commit comments