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 6e57598 commit 9b579d8Copy full SHA for 9b579d8
lib/RefBackend/RefBackend.cpp
@@ -361,7 +361,8 @@ class ExpandOpsForLLVM : public ExpandOpsForLLVMBase<ExpandOpsForLLVM> {
361
auto func = getOperation();
362
auto *context = &getContext();
363
RewritePatternSet patterns(context);
364
- populateExpandTanhPattern(patterns);
+ math::populateExpansionPatterns(patterns,
365
+ {math::TanhOp::getOperationName()});
366
patterns.add<math::ErfPolynomialApproximation>(patterns.getContext());
367
ConversionTarget target(*context);
368
target.addLegalDialect<func::FuncDialect>();
0 commit comments