diff options
author | Chris Lattner <sabre@nondot.org> | 2005-01-08 19:53:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-01-08 19:53:50 +0000 |
commit | 78100c41ca502afde086bca464454bf0f90791d8 (patch) | |
tree | e313fdb6e05131f263b72a268ef70bc31da43322 /llvm/lib/CodeGen/RegAllocLinearScan.cpp | |
parent | d0061955175f9a75c872fb41bd6901cabe3adefc (diff) | |
download | bcm5719-llvm-78100c41ca502afde086bca464454bf0f90791d8.tar.gz bcm5719-llvm-78100c41ca502afde086bca464454bf0f90791d8.zip |
Silence VS warnings
llvm-svn: 19385
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLinearScan.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocLinearScan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp index 2b389117e7e..0878e466d23 100644 --- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp +++ b/llvm/lib/CodeGen/RegAllocLinearScan.cpp @@ -423,7 +423,7 @@ void RA::assignRegOrStackSlotAtInterval(LiveInterval* cur) DEBUG(std::cerr << "\tassigning stack slot at interval "<< *cur << ":\n"); - float minWeight = HUGE_VAL; + float minWeight = float(HUGE_VAL); unsigned minReg = 0; const TargetRegisterClass* rc = mf_->getSSARegMap()->getRegClass(cur->reg); for (TargetRegisterClass::iterator i = rc->allocation_order_begin(*mf_), |