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 /include/llvm/CodeGen | |
parent | 328066513d18acd4e44ad57172c73f1a2a026022 (diff) | |
download | external_llvm-eb3602472026dc029beb45ccbe09bc84162ba949.zip external_llvm-eb3602472026dc029beb45ccbe09bc84162ba949.tar.gz external_llvm-eb3602472026dc029beb45ccbe09bc84162ba949.tar.bz2 |
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 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/LiveInterval.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/LiveInterval.h b/include/llvm/CodeGen/LiveInterval.h index 1b30bf5..3a9fef6 100644 --- a/include/llvm/CodeGen/LiveInterval.h +++ b/include/llvm/CodeGen/LiveInterval.h @@ -541,12 +541,12 @@ namespace llvm { /// isSpillable - Can this interval be spilled? bool isSpillable() const { - return weight != HUGE_VALF; + return weight != llvm::huge_valf; } /// markNotSpillable - Mark interval as not spillable void markNotSpillable() { - weight = HUGE_VALF; + weight = llvm::huge_valf; } bool operator<(const LiveInterval& other) const { |