mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 15:19:33 +00:00
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
This commit is contained in:
parent
7c6e917033
commit
247357cde7
@ -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<float>::infinity();
|
||||
const double huge_vald = std::numeric_limits<double>::infinity();
|
||||
const long double huge_vall = std::numeric_limits<long double>::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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user