[PATCH] [ConstantFolding] Fix wrong folding of intrinsic 'convert.from.fp16'.

Andrea Di Biagio Andrea_DiBiagio at sn.scee.net
Thu May 14 10:36:29 PDT 2015


Hi Ahmed, 
I updated the patch based on your previous feedback.

This patch is much simpler now. As you suggested, I also added extra tests for values different than zero.

Please let me know what you think.
Thanks!
-Andrea


http://reviews.llvm.org/D9771

Files:
  lib/Analysis/ConstantFolding.cpp
  test/Transforms/ConstProp/convert-from-fp16.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9771.25786.patch
Type: text/x-patch
Size: 3848 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150514/54986c3f/attachment.bin>


More information about the llvm-commits mailing list