diff options
author | QingShan Zhang <qshanz@cn.ibm.com> | 2020-03-05 03:42:50 +0000 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2020-06-26 13:45:41 -0700 |
commit | 76ceebb0d96361de2b61bf8e504d306d1f2e492f (patch) | |
tree | 65749ff48ea82a09d0ad9e3eee5e5629799c95b4 /libcxx/test/std/language.support/support.runtime/csignal.pass.cpp | |
parent | b294e611271abeb5c9c49d7fb216b9bdcc323872 (diff) | |
download | bcm5719-llvm-76ceebb0d96361de2b61bf8e504d306d1f2e492f.tar.gz bcm5719-llvm-76ceebb0d96361de2b61bf8e504d306d1f2e492f.zip |
[DAGCombine] Check the uses of negated floating constant and remove the hack
PowerPC hits an assertion due to somewhat the same reason as https://reviews.llvm.org/D70975.
Though there are already some hack, it still failed with some case, when the operand 0 is NOT
a const fp, it is another fma that with const fp. And that const fp is negated which result in multi-uses.
A better fix is to check the uses of the negated const fp. If there are already use of its negated
value, we will have benefit as no extra Node is added.
Differential revision: https://reviews.llvm.org/D75501
(cherry picked from commit 3906ae387f0775dfe4426e4336748269fafbd190)
Diffstat (limited to 'libcxx/test/std/language.support/support.runtime/csignal.pass.cpp')
0 files changed, 0 insertions, 0 deletions