[clang] [flang] [llvm] Initial support for vectorization using HVML (Hygon vector math library) (PR #219098)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 10 06:18: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 h,cpp,c -- clang/lib/Driver/ToolChains/Clang.cpp clang/lib/Driver/ToolChains/CommonArgs.cpp clang/lib/Driver/ToolChains/Flang.cpp clang/test/Driver/autocomplete.c clang/test/Driver/fveclib.c flang/lib/Frontend/CompilerInvocation.cpp llvm/include/llvm/Frontend/Driver/CodeGenOptions.h llvm/include/llvm/IR/SystemLibraries.h llvm/lib/Analysis/TargetLibraryInfo.cpp llvm/lib/CodeGen/CommandFlags.cpp llvm/lib/Frontend/Driver/CodeGenOptions.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/CodeGen/CommandFlags.cpp b/llvm/lib/CodeGen/CommandFlags.cpp
index f93c6180a..19a707f01 100644
--- a/llvm/lib/CodeGen/CommandFlags.cpp
+++ b/llvm/lib/CodeGen/CommandFlags.cpp
@@ -453,7 +453,7 @@ codegen::RegisterCodeGenFlags::RegisterCodeGenFlags() {
clEnumValN(VectorLibrary::AMDLIBM, "AMDLIBM",
"AMD vector math library"),
clEnumValN(VectorLibrary::HVML, "HVML",
- "Hygon vector math library")));
+ "Hygon vector math library")));
CGBINDOPT(VectorLibrary);
static cl::opt<bool> EnableStackSizeSection(
``````````
</details>
https://github.com/llvm/llvm-project/pull/219098
More information about the cfe-commits
mailing list