[Mlir-commits] [mlir] TosaToLinalg: Allow to skip the TOSA validation pass (PR #91742)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri May 10 06:33:58 PDT 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 45fed80b15df85cee53d3d31a7a46ae0daa91a3f 99fcd75fc61d3caa16d9816b18ed9805dc2cea97 -- mlir/include/mlir/Conversion/TosaToLinalg/TosaToLinalg.h mlir/lib/Conversion/TosaToLinalg/TosaToLinalgPass.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/include/mlir/Conversion/TosaToLinalg/TosaToLinalg.h b/mlir/include/mlir/Conversion/TosaToLinalg/TosaToLinalg.h
index e1d0199dac..67965e34d8 100644
--- a/mlir/include/mlir/Conversion/TosaToLinalg/TosaToLinalg.h
+++ b/mlir/include/mlir/Conversion/TosaToLinalg/TosaToLinalg.h
@@ -38,8 +38,9 @@ void addTosaToLinalgPasses(
const TosaToLinalgNamedOptions &tosaToLinalgNamedOptions =
TosaToLinalgNamedOptions(),
// Note: Default to 'none' level unless otherwise specified.
- std::optional<tosa::TosaValidationOptions> validationOptions = tosa::TosaValidationOptions{
- tosa::TosaProfileEnum::Undefined, false, tosa::TosaLevelEnum::None});
+ std::optional<tosa::TosaValidationOptions> validationOptions =
+ tosa::TosaValidationOptions{tosa::TosaProfileEnum::Undefined, false,
+ tosa::TosaLevelEnum::None});
/// Populates TOSA to linalg pipelines
/// Currently, this includes only the "tosa-to-linalg-pipeline".
``````````
</details>
https://github.com/llvm/llvm-project/pull/91742
More information about the Mlir-commits
mailing list