diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2013-11-13 00:15:44 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2013-11-13 00:15:44 +0000 |
commit | eb3602472026dc029beb45ccbe09bc84162ba949 (patch) | |
tree | 7908547e3b54b45f96a24eddf9f30c7ace487bb0 /lib/CodeGen/Spiller.cpp | |
parent | 328066513d18acd4e44ad57172c73f1a2a026022 (diff) | |
download | llvm-eb3602472026dc029beb45ccbe09bc84162ba949.tar.gz llvm-eb3602472026dc029beb45ccbe09bc84162ba949.tar.bz2 llvm-eb3602472026dc029beb45ccbe09bc84162ba949.tar.xz |
Replacing HUGE_VALF with llvm::huge_valf in order to work around a warning triggered in MSVC 12.
Patch reviewed by Reid Kleckner and Jim Grosbach.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194533 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Spiller.cpp')
-rw-r--r-- | lib/CodeGen/Spiller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/Spiller.cpp b/lib/CodeGen/Spiller.cpp index d72c596a84..d5b3a4a940 100644 --- a/lib/CodeGen/Spiller.cpp +++ b/lib/CodeGen/Spiller.cpp @@ -77,7 +77,7 @@ protected: DEBUG(dbgs() << "Spilling everywhere " << *li << "\n"); - assert(li->weight != HUGE_VALF && + assert(li->weight != llvm::huge_valf && "Attempting to spill already spilled value."); assert(!TargetRegisterInfo::isStackSlot(li->reg) && |