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

Raoux, Thomas F thomas.f.raoux at intel.com
Thu Feb 5 10:34:40 PST 2015


Re-attaching the patch

-----Original Message-----
From: Raoux, Thomas F 
Sent: Thursday, February 05, 2015 10:23 AM
To: 'llvm-commits at cs.uiuc.edu'
Subject: [PATCH] Avoid conversion to float when creating ConstantDataArray/ConstantDataVector

Ping. Could someone look at this patch about ConstantDataVector?

-----Original Message-----
From: Raoux, Thomas F 
Sent: Wednesday, January 28, 2015 8:15 AM
To: 'llvm-commits at cs.uiuc.edu'
Subject: [Patch] Avoid conversion to float when creating ConstantDataArray/ConstantDataVector

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/20150205/c4941d5d/attachment.obj>


More information about the llvm-commits mailing list