[compiler-rt] [compiler-rt][MSVC] Update check to include clang-cl (PR #150108)
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 22 16:53:47 PDT 2025
================
@@ -594,8 +594,8 @@ set(aarch64_SOURCES
aarch64/fp_mode.c
)
-# Append sources specific to AArch64 targets that aren't supported by MSVC.
-if(NOT MSVC)
+# Append sources specific to AArch64 targets that aren't supported by cl.exe
+if(CLANG_CL OR NOT MSVC)
----------------
pcc wrote:
The assembly in emupac.cpp uses "portable" assembly directives (portable in the sense that clang supports them in all object formats). The fact that my compile command from https://github.com/llvm/llvm-project/pull/149823#issuecomment-3104521738 worked is evidence of that. So I think the condition in the PR is correct.
https://github.com/llvm/llvm-project/pull/150108
More information about the llvm-commits
mailing list