[LLVMdev] Wrong float value stored in LLVM IR code
Jim Idle
jimi at temporal-wave.com
Tue Jun 17 22:04:20 PDT 2014
On Wed, Jun 18, 2014 at 11:59 AM, Adrian Ortega <elfus0.1 at gmail.com> wrote:
> /**
> float gfloat = 3.141592;
> */
>
> store float 0x400921FB00000000, float* @gfloat // wrong value stored
>
Here you store .....FB.....
%2 = fcmp oeq float %1, 0x400921FA00000000 // wrong value stored
Here you compare with .....FA..... - is that what you intended?
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140618/73b71fe0/attachment.html>
More information about the llvm-dev
mailing list