commit | 1ef057dce8d1d8e69d26724202d8ccd5ed6fd093 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Wed Oct 31 14:57:23 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Wed Oct 31 14:57:23 2018 +0000 |
tree | fc4b9e52f87cf3ec3394db121664fbb1fdf2d06e | |
parent | 2f9c8a0c1d8efc294e83bf8df8e12aa00a748f8a [diff] |
[InstSimplify] fold 'fcmp nnan oge X, 0.0' when X is not negative This re-raises some of the open questions about how to apply and use fast-math-flags in IR from PR38086: https://bugs.llvm.org/show_bug.cgi?id=38086 ...but given the current implementation (no FMF on casts), this is likely the only way to predicate the transform. This is part of solving PR39475: https://bugs.llvm.org/show_bug.cgi?id=39475 Differential Revision: https://reviews.llvm.org/D53874 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@345725 91177308-0d34-0410-b5e6-96231b3b80d8