commit | 261f60f48666aa57e91cfa980ad34e2b77cb2547 | [log] [tgz] |
---|---|---|
author | Matt Arsenault <Matthew.Arsenault@amd.com> | Thu Jan 19 06:35:27 2017 +0000 |
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Thu Jan 19 06:35:27 2017 +0000 |
tree | 972b167ca1ef167a99ec8daada78a5e5672461ff | |
parent | cfe56d7c9573ef88b5f685e8dc699553b3bb726e [diff] |
AMDGPU: Disable some fneg combines unless nsz For -(x + y) -> (-x) + (-y), if x == -y, this would change the result from -0.0 to 0.0. Since the fma/fmad combine is an extension of this problem it also applies there. fmul should be fine, and I don't think any of the unary operators or conversions should be a problem either. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292473 91177308-0d34-0410-b5e6-96231b3b80d8