[PATCH] D19178: Broaden FoldItoFPtoI to try and establish whether the integer value fits into the float type

Carlos Liam via llvm-commits llvm-commits at lists.llvm.org
Tue May 10 12:29:04 PDT 2016


aarzee updated the summary for this revision.
aarzee updated this revision to Diff 56780.
aarzee added a comment.

I've decided to go ahead and submit the full change (considering exponent as well as mantissa) and I've added a few more tests as @reames suggested.


http://reviews.llvm.org/D19178

Files:
  lib/Transforms/InstCombine/InstCombineCasts.cpp
  test/Transforms/InstCombine/sitofp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19178.56780.patch
Type: text/x-patch
Size: 7484 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160510/321e0376/attachment.bin>


More information about the llvm-commits mailing list