convert fptosi(sitofp x) -> x if the fp value has enough bits in its mantissa
authorChris Lattner <sabre@nondot.org>
Mon, 19 May 2008 20:25:04 +0000 (20:25 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 19 May 2008 20:25:04 +0000 (20:25 +0000)
commit0c7a9a04e7cdd764fca606383aa694f83f880abe
tree96910ee44d3414fabf6b386aea966907128f8224
parenta540623ab1186d5045f40dc8659bf2330523d34c
convert fptosi(sitofp x) -> x  if the fp value has enough bits in its mantissa
to accurately represent the integer.  This triggers 9 times in 471.omnetpp,
though 8 of those seem to be inlined from the same place.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51271 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/sitofp.ll