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

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


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




More information about the llvm-commits mailing list