[LLVMdev] Plea for help

Chris Lattner sabre at nondot.org
Thu May 6 11:27:03 PDT 2004

On Thu, 6 May 2004, Alkis Evlogimenos wrote:
> > But making the consequential changes in LLVM seems trickier.
> > Do you plan to correct it in CVS, or is there a path I can follow
> > to fix it myself on my own installation ?
> The easy way to do it in your area is to replace all occurences of
> std::numeric_limits<float>::infinity() with HUGE_VAL. The only two files
> that use std::numeric_limits<float>::infinity() are
> lib/CodeGen/RegAllocLinearScan.cpp and lib/CodeGen/LiveIntervals.cpp.
> As for CVS, I am not sure this should be fixed because there is
> really no LLVM bug here :-)

While this is not an LLVM bug, if Finn has run into it, other people
probably will too.  I've fixed it in CVS: if you update llvm/lib/CodeGen
and rebuild, hopefully linscan will magically work for Finn now. :)


More information about the llvm-dev mailing list