[Mlir-commits] [mlir] [mlir][Transforms] Dialect conversion: add missing argument materialization. (PR #121200)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Dec 27 02:39:05 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 ac8bb7353a7fe79cd99b3c041d5a153517c31abc bdeb48e6dd7aa9c01c0ec388cb8d53777a221c96 --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 5229c0f8d7..aa06fee998 100644
--- a/mlir/lib/Transforms/Utils/DialectConversion.cpp
+++ b/mlir/lib/Transforms/Utils/DialectConversion.cpp
@@ -1384,9 +1384,9 @@ Block *ConversionPatternRewriterImpl::applySignatureConversion(
           /*outputType=*/origArg.getType(), /*originalType=*/Type(), converter);
       mapping.map(origArg, argMat);
     } else {
-      insertNTo1Materialization(
-          insertPoint, origArg.getLoc(), /*replacements=*/replArgs,
-          /*originalValue=*/origArg, converter);
+      insertNTo1Materialization(insertPoint, origArg.getLoc(),
+                                /*replacements=*/replArgs,
+                                /*originalValue=*/origArg, converter);
     }
     appendRewrite<ReplaceBlockArgRewrite>(block, origArg, converter);
   }

``````````

</details>


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


More information about the Mlir-commits mailing list