[Patch]Enable double to float shrinking optimizations for binary functions like 'fmin/fmax'

Yi Jiang yjiang at apple.com
Wed Dec 11 16:45:02 PST 2013


Hi, 

This patch is to enable double to float shrinking optimizations for binary functions like 'fmin/fmax':
 fmin((double)floatval1, (double)floatval2) -> (double)fmin(floatval1, floatval2)

This patch will only cover fmin/fmax but the utility functions could allow us to add more functions in the future. Any comments will be highly appreciated.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binaryshrink.patch
Type: application/octet-stream
Size: 10691 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131211/bff8c7f0/attachment.obj>


More information about the llvm-commits mailing list