[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
Thu Apr 21 08:55:04 PDT 2016
aarzee updated this revision to Diff 54515.
aarzee added a comment.
Made the code shorter and more concise, added some comments, added a new test. For some reason I'm having an issue building LLVM so I wasn't able to personally verify that this works as intended / at all.
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.54515.patch
Type: text/x-patch
Size: 4738 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160421/69617cd1/attachment.bin>
More information about the llvm-commits
mailing list