commit | 8398512f89623144c8bb45ce9deb4f74f76480fc | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Wed Mar 30 17:02:54 2011 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Wed Mar 30 17:02:54 2011 +0000 |
tree | f36a0e103a6f63fa6537a9eda91358964e17d0d7 | |
parent | 546739656ec9469499d3866d87dca6fdbcf2eee0 [diff] |
Avoid turning a floating point division with a constant power of two into a denormal multiplication. Some platforms may treat denormals as zero, on other platforms multiplication with a subnormal is slower than dividing by a normal. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128555 91177308-0d34-0410-b5e6-96231b3b80d8