[compiler-rt] [compiler-rt] Stop using x86 intrinsic on AArch64 with GCC (PR #93890)
via llvm-commits
llvm-commits at lists.llvm.org
Thu May 30 16:27:03 PDT 2024
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 419d363385c7fa8bd969a817f95ab025ae94277c 0ea0c3f50dd9c887fed9935add64cbe34b760025 -- compiler-rt/lib/builtins/int_math.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/compiler-rt/lib/builtins/int_math.h b/compiler-rt/lib/builtins/int_math.h
index 40616b181a..1c053f489b 100644
--- a/compiler-rt/lib/builtins/int_math.h
+++ b/compiler-rt/lib/builtins/int_math.h
@@ -65,7 +65,8 @@
#define crt_copysign(x, y) __builtin_copysign((x), (y))
#define crt_copysignf(x, y) __builtin_copysignf((x), (y))
#define crt_copysignl(x, y) __builtin_copysignl((x), (y))
-#if __has_builtin(__builtin_copysignf128) || (defined(__GNUC__) && __GNUC__ >= 7)
+#if __has_builtin(__builtin_copysignf128) || \
+ (defined(__GNUC__) && __GNUC__ >= 7)
#define crt_copysignf128(x, y) __builtin_copysignf128((x), (y))
#elif __has_builtin(__builtin_copysignq)
#define crt_copysignf128(x, y) __builtin_copysignq((x), (y))
``````````
</details>
https://github.com/llvm/llvm-project/pull/93890
More information about the llvm-commits
mailing list