================ @@ -24,6 +24,7 @@ #include "llvm/CodeGen/BasicTTIImpl.h" #include "llvm/IR/Function.h" #include "llvm/IR/Intrinsics.h" +#include <climits> ---------------- alexey-bataev wrote: Why need climits here? https://github.com/llvm/llvm-project/pull/111479