commit | a521995ff00c71f7ebaf5801d357ce3139f9c43d | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Wed Aug 08 23:04:43 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Wed Aug 08 23:04:43 2018 +0000 |
tree | c05325d91939cc19033a0e924423964e1e416320 | |
parent | e6de6e242040051a313023c14f897e9974ec7fb8 [diff] |
[DAGCombiner] loosen constraints for fsub+fadd fold isNegatibleForFree() should not matter here (as the test diffs show) because it's always a win to replace an fsub+fadd with fneg. The problem in D50195 persists because either (1) we are doing these folds in the wrong order or (2) we're missing another fold for fadd. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@339299 91177308-0d34-0410-b5e6-96231b3b80d8