[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 09:01:07 PDT 2016
aarzee updated this revision to Diff 54516.
aarzee added a comment.
Highest possible trailing zeros was off by one (exponent is either unsigned or biased, with non-negative values ranging from 0 to 2^(x - 1), where x is the bit width of the exponent).
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.54516.patch
Type: text/x-patch
Size: 4738 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160421/d3949470/attachment.bin>
More information about the llvm-commits
mailing list