Index: openmp/cmake/DetectTestCompiler/CMakeLists.txt =================================================================== --- openmp/cmake/DetectTestCompiler/CMakeLists.txt +++ openmp/cmake/DetectTestCompiler/CMakeLists.txt @@ -30,20 +30,6 @@ set(C_FLAGS "${OpenMP_C_FLAGS} ${CMAKE_THREAD_LIBS_INIT}") set(CXX_FLAGS "${OpenMP_CXX_FLAGS} ${CMAKE_THREAD_LIBS_INIT}") -# TODO: Implement blockaddress in GlobalISel and remove this flag! -if (CMAKE_C_COMPILER_ID STREQUAL "Clang") - check_c_compiler_flag("-fno-experimental-isel" C_HAS_EXPERIMENTAL_ISEL_FLAG) - check_cxx_compiler_flag("-fno-experimental-isel" CXX_HAS_EXPERIMENTAL_ISEL_FLAG) - macro(add_experimental_isel_flag lang) - if (${lang}_HAS_EXPERIMENTAL_ISEL_FLAG) - set(${lang}_FLAGS "-fno-experimental-isel ${${lang}_FLAGS}") - endif() - endmacro(add_experimental_isel_flag) - - add_experimental_isel_flag(C) - add_experimental_isel_flag(CXX) -endif() - check_c_compiler_flag("-fno-omit-frame-pointer" C_HAS_OMIT_FRAME_POINTER) check_cxx_compiler_flag("-fno-omit-frame-pointer" CXX_HAS_OMIT_FRAME_POINTER) Index: openmp/cmake/OpenMPTesting.cmake =================================================================== --- openmp/cmake/OpenMPTesting.cmake +++ openmp/cmake/OpenMPTesting.cmake @@ -154,8 +154,7 @@ set(OPENMP_TEST_COMPILER_HAS_TSAN_FLAGS 0) endif() set(OPENMP_TEST_COMPILER_HAS_OMP_H 1) - # TODO: Implement blockaddress in GlobalISel and remove this flag! - set(OPENMP_TEST_COMPILER_OPENMP_FLAGS "-fopenmp ${OPENMP_TEST_COMPILER_THREAD_FLAGS} -fno-experimental-isel") + set(OPENMP_TEST_COMPILER_OPENMP_FLAGS "-fopenmp ${OPENMP_TEST_COMPILER_THREAD_FLAGS}") set(OPENMP_TEST_COMPILER_HAS_OMIT_FRAME_POINTER_FLAGS 1) endif()