[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 13:44:46 PDT 2016


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

Replace for loops with count{Leading,Trailing}{Zeros,Ones}.


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.56801.patch
Type: text/x-patch
Size: 7406 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160510/7136418c/attachment.bin>


More information about the llvm-commits mailing list