[llvm] Constant Fold Logf128 calls (PR #84501)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 15 03:58:27 PDT 2024
================
@@ -161,3 +161,9 @@ add_llvm_component_library(LLVMAnalysis
Support
TargetParser
)
+
+include(CheckCXXSymbolExists)
+check_cxx_symbol_exists(logf128 math.h HAS_LOGF128)
+if(HAS_LOGF128)
+ target_compile_definitions(LLVMAnalysis PRIVATE HAS_LOGF128)
+endif()
----------------
arsenm wrote:
GitHub is unhappy about the end of file here
https://github.com/llvm/llvm-project/pull/84501
More information about the llvm-commits
mailing list