[Mlir-commits] [mlir] [mlir][emitc] Add 'emitc.switch' op to the dialect (PR #102331)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Aug 9 04:18:20 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 ad8a2e4ed40ff97e70dec0d044058b47ce90a12f 6f53683cea3dc1bd6787a03ea2743ddf89ece649 --extensions cpp,h -- mlir/include/mlir/Dialect/EmitC/IR/EmitC.h mlir/lib/Dialect/EmitC/IR/EmitC.cpp mlir/lib/Target/Cpp/TranslateToCpp.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/include/mlir/Dialect/EmitC/IR/EmitC.h b/mlir/include/mlir/Dialect/EmitC/IR/EmitC.h
index 8d32e74d68..5d623a816e 100644
--- a/mlir/include/mlir/Dialect/EmitC/IR/EmitC.h
+++ b/mlir/include/mlir/Dialect/EmitC/IR/EmitC.h
@@ -47,7 +47,8 @@ bool isSupportedFloatType(mlir::Type type);
 /// Determines whether \p type is a emitc.size_t/ssize_t type.
 bool isPointerWideType(mlir::Type type);
 
-/// Determines whether \p type is a valid integer, index or opaque type for SwitchOp.
+/// Determines whether \p type is a valid integer, index or opaque type for
+/// SwitchOp.
 bool isSwitchOperandType(Type type);
 
 } // namespace emitc

``````````

</details>


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


More information about the Mlir-commits mailing list