[Mlir-commits] [mlir] [mlir][Vector] Move mask materialization patterns to greedy rewrite (PR #119973)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sat Dec 14 07:41:03 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 74fb9928443ce3d176911615e6a0297f074736fe e89649728065d24533dfe752425c2682cedfb118 --extensions cpp -- mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp b/mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp
index 6e02cd2dad..64a9ad8e9b 100644
--- a/mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp
+++ b/mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp
@@ -76,7 +76,8 @@ void ConvertVectorToLLVMPass::runOnOperation() {
VectorTransformsOptions());
// Vector transfer ops with rank > 1 should be lowered with VectorToSCF.
populateVectorTransferLoweringPatterns(patterns, /*maxTransferRank=*/1);
- populateVectorMaskMaterializationPatterns(patterns, force32BitVectorIndices);
+ populateVectorMaskMaterializationPatterns(patterns,
+ force32BitVectorIndices);
(void)applyPatternsAndFoldGreedily(getOperation(), std::move(patterns));
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/119973
More information about the Mlir-commits
mailing list