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/RegAllocIterativeScan.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/RegAllocIterativeScan.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocIterativeScan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocIterativeScan.cpp b/llvm/lib/CodeGen/RegAllocIterativeScan.cpp index d523906392e..ddbb52a880f 100644 --- a/llvm/lib/CodeGen/RegAllocIterativeScan.cpp +++ b/llvm/lib/CodeGen/RegAllocIterativeScan.cpp @@ -394,7 +394,7 @@ void RA::assignRegOrSpillAtInterval(IntervalPtrs::value_type 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_), |