[Mlir-commits] [mlir] [mlir][Transforms] Dialect conversion: Skip materializations when running without converter (PR #101318)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Jul 31 03:33:28 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 5c406eacf4f4dda0cf9267d638954aa20f17e118 59448a2a65a950da3be20c0b495cec59246c66b6 --extensions cpp -- mlir/lib/Transforms/Utils/DialectConversion.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Transforms/Utils/DialectConversion.cpp b/mlir/lib/Transforms/Utils/DialectConversion.cpp
index fdd0175ffa..b9a197e89e 100644
--- a/mlir/lib/Transforms/Utils/DialectConversion.cpp
+++ b/mlir/lib/Transforms/Utils/DialectConversion.cpp
@@ -1319,7 +1319,7 @@ Block *ConversionPatternRewriterImpl::applySignatureConversion(
// This is a 1->1+ mapping.
auto replArgs =
newBlock->getArguments().slice(inputMap->inputNo, inputMap->size);
-
+
// When there is no type converter, assume that the new block argument
// types are legal. This is reasonable to assume because they were
// specified by the user.
``````````
</details>
https://github.com/llvm/llvm-project/pull/101318
More information about the Mlir-commits
mailing list