commit | c6e8ed569c30b7e6402e8a2fef618e7a35e7cf5b | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Mon Feb 19 21:46:52 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Mon Feb 19 21:46:52 2018 +0000 |
tree | 8f2840a95927b4ab9bfe1b149d76636ca6bcd964 | |
parent | 3a368d57a028fce43f8c3029b01354149994abbc [diff] |
[InstCombine] allow fdiv with constant dividend folds with less than full -ffast-math It's possible that we could allow this either 'arcp' or 'reassoc' alone, but this should be conservatively better than what we have right now. GCC allows this with only -freciprocal-math. The last test is changed to show a case that is expected to fold, but we need D43398. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325533 91177308-0d34-0410-b5e6-96231b3b80d8