[compiler-rt] 8c4fa11 - [compiler-rt][MSVC] Update check to include clang-cl (#150108)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 22 18:19:36 PDT 2025
Author: Zack Johnson
Date: 2025-07-22T21:19:33-04:00
New Revision: 8c4fa11dd871ba747867d2e707d643664868837e
URL: https://github.com/llvm/llvm-project/commit/8c4fa11dd871ba747867d2e707d643664868837e
DIFF: https://github.com/llvm/llvm-project/commit/8c4fa11dd871ba747867d2e707d643664868837e.diff
LOG: [compiler-rt][MSVC] Update check to include clang-cl (#150108)
Follow up to #149823 to include `clang-cl` for AArch64 builtins sources.
Added:
Modified:
compiler-rt/lib/builtins/CMakeLists.txt
Removed:
################################################################################
diff --git a/compiler-rt/lib/builtins/CMakeLists.txt b/compiler-rt/lib/builtins/CMakeLists.txt
index eb2e7664152b8..1dadb6a810efb 100644
--- a/compiler-rt/lib/builtins/CMakeLists.txt
+++ b/compiler-rt/lib/builtins/CMakeLists.txt
@@ -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)
list(APPEND aarch64_SOURCES
aarch64/emupac.cpp
)
More information about the llvm-commits
mailing list