diff --git a/llvm/runtimes/CMakeLists.txt b/llvm/runtimes/CMakeLists.txt --- a/llvm/runtimes/CMakeLists.txt +++ b/llvm/runtimes/CMakeLists.txt @@ -256,14 +256,6 @@ function(builtin_register_target compiler_rt_path target) cmake_parse_arguments(ARG "" "" "DEPENDS" ${ARGN}) - string(REPLACE "-" ";" builtin_target_list ${target}) - foreach(item ${builtin_target_list}) - string(TOLOWER "${item}" item_lower) - if(item_lower MATCHES "darwin") - message(FATAL_ERROR "LLVM_BUILTIN_TARGETS isn't implemented for Darwin platform!") - endif() - endforeach() - get_cmake_property(variableNames VARIABLES) foreach(variableName ${variableNames}) string(FIND "${variableName}" "BUILTINS_${target}" out)