[llvm] [Matrix] Hoist finalizeLowering into caller. NFC (PR #143038)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 10 10:07:27 PDT 2025


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 HEAD~1 HEAD --extensions cpp -- llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp b/llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
index e9e42aeaa..766a9361d 100644
--- a/llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
+++ b/llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
@@ -1197,7 +1197,7 @@ public:
       }
 
       return Result.addNumComputeOps(getNumOps(Result.getVectorTy()) *
-                                               Result.getNumVectors());
+                                     Result.getNumVectors());
     }
     default:
       break;

``````````

</details>


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


More information about the llvm-commits mailing list