On 12/3/07, Sjodin, Jan <[EMAIL PROTECTED]> wrote:
> I would like to reinterpret (not convert/cast) a 32-bit integer to a
> 32-bit float in GIMPLE. Is using a NOP_EXPR with the wanted type the
> correct way of doing this?
You want to use the tree code called VIEW_CONVERT_EXPR.
Thanks,
Andrew Pins
I would like to reinterpret (not convert/cast) a 32-bit integer to a
32-bit float in GIMPLE. Is using a NOP_EXPR with the wanted type the
correct way of doing this?
The reinterpretation of a value is needed to optimize reads and writes
to unions. I modified the value numbering pass which worked f