From 4337e97029c18383cd34d922e9de523ad65083a6 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Wed, 13 Nov 2013 00:20:43 +0000 Subject: [PATCH] Removing llvm::huge_vald and llvm::huge_vall because they are not currently used, and HUGE_VALD does not appear to be supported everywhere anyways. llvm-svn: 194535 --- llvm/include/llvm/Support/MathExtras.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/llvm/include/llvm/Support/MathExtras.h b/llvm/include/llvm/Support/MathExtras.h index 17cf4751a01f..ff41608f5f51 100644 --- a/llvm/include/llvm/Support/MathExtras.h +++ b/llvm/include/llvm/Support/MathExtras.h @@ -608,12 +608,8 @@ inline int64_t SignExtend64(uint64_t X, unsigned B) { // Visual Studio defines the HUGE_VAL class of macros using purposeful // constant arithmetic overflow, which it then warns on when encountered. const float huge_valf = std::numeric_limits::infinity(); - const double huge_vald = std::numeric_limits::infinity(); - const long double huge_vall = std::numeric_limits::infinity(); #else const float huge_valf = HUGE_VALF; - const double huge_vald = HUGE_VALD; - const long double huge_vall = HUGE_VALL; #endif } // End llvm namespace