[clang] [ARM64EC] Fix compilation of intrin.h in ARM64EC mode. (PR #87717)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 4 18:49:56 PDT 2024
================
@@ -413,6 +413,7 @@ static __inline__ void __DEFAULT_FN_ATTRS
__writecr3(unsigned __INTPTR_TYPE__ __cr3_val) {
__asm__ ("mov {%0, %%cr3|cr3, %0}" : : "r"(__cr3_val) : "memory");
}
+#endif
----------------
efriedma-quic wrote:
That chunk of declarations near the top of the file needs a lot of work to match the actual implementation; I'd prefer to just leave it for now.
https://github.com/llvm/llvm-project/pull/87717
More information about the cfe-commits
mailing list