[PATCH] D18528: Don't fold double constant to an integer if dest type not integral

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 4 14:16:51 PDT 2016


tejohnson added a comment.

In http://reviews.llvm.org/D18528#391693, @ab wrote:

> Eh, it's even more out of place there. I thought it was possible to tickle it with:
>
>   @mmx = global x86_mmx bitcast (double 0.000000e+00 to x86_mmx)
>
> but that's rejected.
>
> Anyway, sorry about the pointless back and forth; LGTM in Transforms or CodeGen, your pick.


Ok, thanks. I'm going to move it back to CodeGen/X86 since that's where I see similar tests.


http://reviews.llvm.org/D18528





More information about the llvm-commits mailing list