[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
Sat Jul 30 17:17:11 PDT 2016


aarzee updated this revision to Diff 66232.
aarzee added a comment.

Additional fixes and comments.

I have verified the accuracy of this version of the code with a testing script that I will attach here.


https://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.66232.patch
Type: text/x-patch
Size: 7828 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160731/3542dc29/attachment.bin>


More information about the llvm-commits mailing list