[clang] [ARM64EC] Fix compilation of intrin.h in ARM64EC mode. (PR #87717)

Freddy Ye via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 14 00:20:03 PDT 2024


================
@@ -44,7 +44,7 @@ unsigned char _InterlockedCompareExchange128_rel(__int64 volatile *_Destination,
                                                  __int64 *_ComparandResult);
 #endif
 
-#ifdef __x86_64__
+#ifdef __x86_64__ && !defined(__arm64ec__)
----------------
FreddyLeaf wrote:

Sorry I don't have the reproducer, either. The scene supposed to be building V-Ray with MSbuild on Windows.

https://github.com/llvm/llvm-project/pull/87717


More information about the cfe-commits mailing list