[LLVMdev] BlockFrequency spill weights
Benjamin Kramer
benny.kra at gmail.com
Mon Jun 17 11:58:49 PDT 2013
On 17.06.2013, at 20:43, Chandler Carruth <chandlerc at google.com> wrote:
>
> On Mon, Jun 17, 2013 at 11:03 AM, Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote:
> >> This computation can overflow.
> >
> > Yep, I went down the easy route and converted it to floating point arithmetic. Is that OK here?
>
> Yes, that should be fine.
>
> I really don't think this is fine. I would like for LLVM to not rely on floating point arithmetic on the host.
I tend to agree. The piece of code I was referring to is replacing other floating point code and interacts with other floating point code so this is not a regression.
- Ben
More information about the llvm-dev
mailing list