commit | 5332ea03d1a061e10977c3db77437ed0f99bfd3a | [log] [tgz] |
---|---|---|
author | Arch D. Robison <arch.robison@intel.com> | Tue Sep 15 17:51:59 2015 +0000 |
committer | Arch D. Robison <arch.robison@intel.com> | Tue Sep 15 17:51:59 2015 +0000 |
tree | ec90a680bd5e63c80ccc62a5b241967574178b82 | |
parent | ca857efb5b7308d5dda621685a766da6960a8157 [diff] |
Broaden optimization of fcmp ([us]itofp x, constant) by instcombine. The patch extends the optimization to cases where the constant's magnitude is so small or large that the rounding of the conversion is irrelevant. The "so small" case includes negative zero. Differential review: http://reviews.llvm.org/D11210 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247708 91177308-0d34-0410-b5e6-96231b3b80d8