[Mlir-commits] [mlir] [mlir][ArmSME] Add support for lowering masked tile_load ops (PR #70915)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Nov 1 02:08:49 PDT 2023
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 b120fe8d3288c4dca1b5427ca34839ce8833f71c 61283b7837488d0e0234bfc1c6bf9baa53cba183 -- mlir/lib/Conversion/ArmSMEToSCF/ArmSMEToSCF.cpp mlir/lib/Conversion/VectorToArmSME/VectorToArmSME.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Conversion/ArmSMEToSCF/ArmSMEToSCF.cpp b/mlir/lib/Conversion/ArmSMEToSCF/ArmSMEToSCF.cpp
index 491c7604433d..4e5021a65a23 100644
--- a/mlir/lib/Conversion/ArmSMEToSCF/ArmSMEToSCF.cpp
+++ b/mlir/lib/Conversion/ArmSMEToSCF/ArmSMEToSCF.cpp
@@ -80,8 +80,8 @@ struct TileLoadOpConversion : public OpRewritePattern<arm_sme::TileLoadOp> {
LogicalResult matchAndRewrite(arm_sme::TileLoadOp tileLoadOp,
PatternRewriter &rewriter) const override {
if (tileLoadOp.getMask())
- return rewriter.notifyMatchFailure(
- tileLoadOp, "op has mask, apply masked patterns");
+ return rewriter.notifyMatchFailure(tileLoadOp,
+ "op has mask, apply masked patterns");
OpBuilder::InsertionGuard g(rewriter);
auto loc = tileLoadOp.getLoc();
``````````
</details>
https://github.com/llvm/llvm-project/pull/70915
More information about the Mlir-commits
mailing list