[llvm-commits] [PATCH] KNRPromotion fix when FLOAT_TYPE_SIZE is not smaller than DOUBLE_TYPE_SIZE

Chris Lattner clattner at apple.com
Thu Jun 11 11:21:45 PDT 2009


On Jun 11, 2009, at 12:02 AM, Mikael Lepistö wrote:
>> That's because float_type_node and double_type_node correspond
>> to the C float/double types, while LLVM's FloatTy and DoubleTy
>> need not: they correspond to a particular size.  You might need
>> to look at the main type variant though.
>>
> Thanks for the comments. Here is updated patch.
>
> Mikael Lepistö

Looks great, applied:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090608/078568.html

Thanks,

-Chris





More information about the llvm-commits mailing list