[clang] [Headers] [ARM64EC] Fix extra tokens inside intrin0.h preprocessor directive (PR #112066)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 11 19:06:23 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-backend-x86
Author: Max Winkler (MaxEW707)
<details>
<summary>Changes</summary>
Fixes https://github.com/llvm/llvm-project/pull/87717.
---
Full diff: https://github.com/llvm/llvm-project/pull/112066.diff
1 Files Affected:
- (modified) clang/lib/Headers/intrin0.h (+1-1)
``````````diff
diff --git a/clang/lib/Headers/intrin0.h b/clang/lib/Headers/intrin0.h
index 866c8896617d22..6b01f3808652aa 100644
--- a/clang/lib/Headers/intrin0.h
+++ b/clang/lib/Headers/intrin0.h
@@ -44,7 +44,7 @@ unsigned char _InterlockedCompareExchange128_rel(__int64 volatile *_Destination,
__int64 *_ComparandResult);
#endif
-#ifdef __x86_64__ && !defined(__arm64ec__)
+#if defined(__x86_64__) && !defined(__arm64ec__)
unsigned __int64 _umul128(unsigned __int64, unsigned __int64,
unsigned __int64 *);
unsigned __int64 __shiftleft128(unsigned __int64 _LowPart,
``````````
</details>
https://github.com/llvm/llvm-project/pull/112066
More information about the cfe-commits
mailing list