Skip to content

Commit eed135f

Browse files
committed
Revert "[Analysis] Guard logf128 cst folding"
This reverts commit 42d3ccc which caused a test failure.
1 parent 74b4ec1 commit eed135f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

llvm/lib/Analysis/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ add_llvm_component_library(LLVMAnalysis
163163
TargetParser
164164
)
165165

166-
if(LLVM_HAS_LOGF128)
167-
target_compile_definitions(LLVMAnalysis PRIVATE HAS_LOGF128)
166+
include(CheckCXXSymbolExists)
167+
check_cxx_symbol_exists(logf128 math.h HAS_LOGF128)
168+
if(HAS_LOGF128)
169+
target_compile_definitions(LLVMAnalysis PRIVATE HAS_LOGF128)
168170
endif()

0 commit comments

Comments
 (0)