[LLVMdev] Bug in InsertElement constant propagation?
Jonathan Roelofs
jonathan at codesourcery.com
Wed Jan 14 10:30:22 PST 2015
On 1/14/15 11:12 AM, Raoux, Thomas F wrote:
> Ha here is what I was missing. Thanks Jon. It still seems to me that the transformation of LLVM IR is invalid is that right?
I don't know if IR is required to preserve NaN bit patterns, but ISTM
that it would be better if it did.
> I assume we shouldn't be converting APFloat to float in order to avoid such problems?
Yes, I think that's the correct fix.
Jon
--
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded
More information about the llvm-dev
mailing list