[Mlir-commits] [mlir] [MLIR] Expose approximation patterns for tanh/erf. (PR #82750)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Feb 23 02:56:31 PST 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff 5cb2ebc08f6fa42341409b88466c5c266e5839cc bf857c7a63dcd1f1eb6755e2f02ca6c7b3a8531b -- mlir/include/mlir/Dialect/Math/Transforms/Passes.h mlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/mlir/include/mlir/Dialect/Math/Transforms/Passes.h b/mlir/include/mlir/Dialect/Math/Transforms/Passes.h
index c0b5c0080b..11b2c7a7af 100644
--- a/mlir/include/mlir/Dialect/Math/Transforms/Passes.h
+++ b/mlir/include/mlir/Dialect/Math/Transforms/Passes.h
@@ -45,7 +45,6 @@ struct MathPolynomialApproximationOptions {
   bool enableAvx2 = false;
 };
 
-
 void populatePolynomialApproximateTanhPattern(RewritePatternSet &patterns);
 void populatePolynomialApproximateErfPattern(RewritePatternSet &patterns);
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/82750


More information about the Mlir-commits mailing list