[clang] [llvm] [SVE2.1][Clang][LLVM]Int/FP reduce builtin in Clang and LLVM intrinsic (PR #69926)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 24 04:50:59 PST 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 d95d1c382bfc6abdf4b7764d57ba7e6098e98f5b 436743700c92fc301a0d7df8b92d8a03cd28eecb -- clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_fp_reduce.c clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_int_reduce.c clang/test/CodeGen/arm-vector_type-params-returns.c clang/include/clang/Basic/TargetBuiltins.h clang/lib/CodeGen/CGBuiltin.cpp clang/utils/TableGen/NeonEmitter.cpp clang/utils/TableGen/SveEmitter.cpp clang/utils/TableGen/TableGen.cpp clang/utils/TableGen/TableGenBackends.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/utils/TableGen/NeonEmitter.cpp b/clang/utils/TableGen/NeonEmitter.cpp
index 03ed20d848..7aa78e15ba 100644
--- a/clang/utils/TableGen/NeonEmitter.cpp
+++ b/clang/utils/TableGen/NeonEmitter.cpp
@@ -2237,7 +2237,7 @@ static void emitNeonTypeDefs(const std::string& types, raw_ostream &OS) {
for (auto &TS : TDTypeVec) {
bool IsA64 = false;
Type T(TS, ".");
- if (T.isDouble())
+ if (T.isDouble())
IsA64 = true;
if (InIfdef && !IsA64) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/69926
More information about the cfe-commits
mailing list