[clang] [llvm] [WIP] Riscv libmvec support (PR #193721)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 23 04:47:22 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,h,cpp -- clang/lib/Driver/ToolChains/Clang.cpp clang/lib/Driver/ToolChains/Flang.cpp clang/test/Driver/fveclib.c llvm/include/llvm/IR/VFABIDemangler.h llvm/lib/Analysis/TargetLibraryInfo.cpp llvm/lib/IR/VFABIDemangler.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/Analysis/TargetLibraryInfo.cpp b/llvm/lib/Analysis/TargetLibraryInfo.cpp
index 7993608a7..305cc96bf 100644
--- a/llvm/lib/Analysis/TargetLibraryInfo.cpp
+++ b/llvm/lib/Analysis/TargetLibraryInfo.cpp
@@ -1268,11 +1268,11 @@ static const VecDesc VecFuncs_LIBMVEC_AARCH64[] = {
#include "llvm/Analysis/VecFuncs.def"
#undef TLI_DEFINE_LIBMVEC_AARCH64_VECFUNCS
-static const VecDesc VecFuncs_LIBMVEC_RVV[] = {
+ static const VecDesc VecFuncs_LIBMVEC_RVV[] = {
#define TLI_DEFINE_LIBMVEC_RVV_VECFUNCS
#include "llvm/Analysis/VecFuncs.def"
#undef TLI_DEFINE_LIBMVEC_RVV_VECFUNCS
-};
+ };
static const VecDesc VecFuncs_MASSV[] = {
#define TLI_DEFINE_MASSV_VECFUNCS
``````````
</details>
https://github.com/llvm/llvm-project/pull/193721
More information about the llvm-commits
mailing list