[LLVMdev] strange floating point problem

Alexander Hochbaum admin at typoflash.com
Thu Jun 21 01:35:13 PDT 2012


Hi Tim,

it turns out that the problem was due to wrong relocation in a custom  
elf loader. It's hard to debug such things but sorry for blaming llvm.

Thanks

Alex

Quoting Tim Northover <t.p.northover at gmail.com>:

> Hi Alex,
>
>> The IL looks fine. It is optimized so there are only the function
>> calls with the different constant double values as direct input. If I
>> change the values from double to i64 everything works fine!
>
> I've not seen similar problems. Is there any chance you can send more
> details? The .ll file itself, llc invocation options and LLVM version
> would help a lot.
>
> Other than that, you could try using a trunk build, or perhaps see if
> the same thing happens when you change the to/from SSE.
>
> Tim.
>






More information about the llvm-dev mailing list