[Mlir-commits] [flang] [mlir] [mlir][Transforms] Dialect Conversion: No target mat. for 1:N replacement (PR #117513)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sun Nov 24 20:49:21 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 345ca6a69203fe8ad17cf35da88e6a490679a2e7 ec18101f82af63701b2c5d6077259fd0d86ceee2 --extensions cpp -- flang/lib/Optimizer/CodeGen/CodeGen.cpp mlir/lib/Transforms/Utils/DialectConversion.cpp mlir/test/lib/Dialect/Test/TestPatterns.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/flang/lib/Optimizer/CodeGen/CodeGen.cpp b/flang/lib/Optimizer/CodeGen/CodeGen.cpp
index 5721433bad..f2113f6da3 100644
--- a/flang/lib/Optimizer/CodeGen/CodeGen.cpp
+++ b/flang/lib/Optimizer/CodeGen/CodeGen.cpp
@@ -3880,8 +3880,8 @@ void fir::populateFIRToLLVMConversionPatterns(
// Patterns that are populated without a type converter do not trigger
// target materializations for the operands of the root op.
- //patterns.insert<InsertValueOpConversion>(
+ // patterns.insert<InsertValueOpConversion>(
// converter, patterns.getContext());
patterns.insert<HasValueOpConversion, InsertValueOpConversion>(
- patterns.getContext());
+ patterns.getContext());
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/117513
More information about the Mlir-commits
mailing list