[compiler-rt] [compiler-rt] Make Arm builtins aware of endianness in VMOVs (PR #123204)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 20 03:59:01 PST 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 6a2cc122296b04a4f09768a714a74ffc82b7be87 dd31999a4e58981231c0b3bfc89c71acb597683b --extensions h -- compiler-rt/lib/builtins/assembly.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/compiler-rt/lib/builtins/assembly.h b/compiler-rt/lib/builtins/assembly.h
index d1721401a9..04e27a9e17 100644
--- a/compiler-rt/lib/builtins/assembly.h
+++ b/compiler-rt/lib/builtins/assembly.h
@@ -294,15 +294,11 @@
#include "int_endianness.h"
#if __YUGA_BIG_ENDIAN
-# define VMOV_TO_DOUBLE(dst, src0, src1) \
- vmov dst, src1, src0 SEPARATOR
-# define VMOV_FROM_DOUBLE(dst0, dst1, src) \
- vmov dst1, dst0, src SEPARATOR
+#define VMOV_TO_DOUBLE(dst, src0, src1) vmov dst, src1, src0 SEPARATOR
+#define VMOV_FROM_DOUBLE(dst0, dst1, src) vmov dst1, dst0, src SEPARATOR
#else
-# define VMOV_TO_DOUBLE(dst, src0, src1) \
- vmov dst, src0, src1 SEPARATOR
-# define VMOV_FROM_DOUBLE(dst0, dst1, src) \
- vmov dst0, dst1, src SEPARATOR
+#define VMOV_TO_DOUBLE(dst, src0, src1) vmov dst, src0, src1 SEPARATOR
+#define VMOV_FROM_DOUBLE(dst0, dst1, src) vmov dst0, dst1, src SEPARATOR
#endif
#endif
``````````
</details>
https://github.com/llvm/llvm-project/pull/123204
More information about the llvm-commits
mailing list