Fix LLVM version macro typo

This commit is contained in:
Walter
2026-07-17 14:24:58 +10:00
committed by Elad
parent 634a41b488
commit 656bc2a92c
+1 -1
View File
@@ -4288,7 +4288,7 @@ template <typename T1, typename T2, typename T3>
{
static_assert(depth <= llvm::MaxAnalysisRecursionDepth, "Depth parameter can only decrease search. Default is max.");
#if LLVM_MAJOR_VERSION >= 21
#if LLVM_VERSION_MAJOR >= 21
const llvm::SimplifyQuery SQ(m_module->getDataLayout());
return llvm::computeKnownFPClass(a.eval(m_ir), interested_classes, SQ, llvm::MaxAnalysisRecursionDepth - depth);
#else