[Mlir-commits] [clang] [llvm] [mlir] [AArch64][llvm][clang] Remove `int_aarch64_sve_bfmmla` and reuse existing def (NFC) (PR #193970)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Apr 24 07:58:01 PDT 2026
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 origin/main HEAD --extensions c,cpp -- clang/test/CodeGen/AArch64/sve-intrinsics/acle_sve_bfmmla.c llvm/lib/IR/AutoUpgrade.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/IR/AutoUpgrade.cpp b/llvm/lib/IR/AutoUpgrade.cpp
index 143623c72..946827b54 100644
--- a/llvm/lib/IR/AutoUpgrade.cpp
+++ b/llvm/lib/IR/AutoUpgrade.cpp
@@ -1005,7 +1005,8 @@ static bool upgradeArmOrAarch64IntrinsicFunction(bool IsArm, Function *F,
// 'aarch64.sve.*'.
if (Name.consume_front("bf")) {
if (Name == "mmla") {
- Type *Tys[] = {F->getReturnType(), std::next(F->arg_begin())->getType()};
+ Type *Tys[] = {F->getReturnType(),
+ std::next(F->arg_begin())->getType()};
NewFn = Intrinsic::getOrInsertDeclaration(
F->getParent(), Intrinsic::aarch64_sve_fmmla, Tys);
return true;
``````````
</details>
https://github.com/llvm/llvm-project/pull/193970
More information about the Mlir-commits
mailing list