[Patch] Avoid conversion to float when creating ConstantDataArray/ConstantDataVector

Raoux, Thomas F thomas.f.raoux at intel.com
Wed Jan 28 08:15:07 PST 2015


Hi,

Could someone review (and possibly commit) this patch related to ConstantDataArray/ConstantDataVector? 

This addresses a bug discussed in this thread: http://lists.cs.uiuc.edu/pipermail/llvmdev/2015-January/080575.html

To avoid conversion to float and potential change of the constant I added new constructors for float types for ConstantDataArray/ConstantDataVector. 

Cheers,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ConstantDataVector.patch
Type: application/octet-stream
Size: 7407 bytes
Desc: ConstantDataVector.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150128/ee386c09/attachment.obj>


More information about the llvm-commits mailing list