[llvm] Constant Fold Logf128 calls (PR #84501)

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Wed May 1 10:04:45 PDT 2024


================
@@ -80,5 +80,11 @@ if(NOT WIN32)
   export_executable_symbols_for_plugins(AnalysisTests)
 endif()
 
+include(CheckCXXSymbolExists)
+check_cxx_symbol_exists(logf128 math.h HAS_LOGF128)
+if(HAS_LOGF128)
+  target_compile_definitions(AnalysisTests PRIVATE HAS_LOGF128)
----------------
nico wrote:

(Answer at https://github.com/llvm/llvm-project/commit/088aa81a545421933254f19cd3c8914a0373b493#r141562044)

https://github.com/llvm/llvm-project/pull/84501


More information about the llvm-commits mailing list