diff options
author | Carl Ritson <carl.ritson@amd.com> | 2019-12-20 12:51:50 +0900 |
---|---|---|
committer | Carl Ritson <carl.ritson@amd.com> | 2019-12-23 09:37:58 +0900 |
commit | 2791667d2e3fb8c1f0abaff93fd8caaabb2b00b9 (patch) | |
tree | 5041be7e66c6e7eaae72c4befb2a0b531faea344 /lldb/source/Commands/CommandObjectCommands.cpp | |
parent | 2046d72e91670114625c87e122db6e013ba089d5 (diff) | |
download | llvm-2791667d2e3fb8c1f0abaff93fd8caaabb2b00b9.zip llvm-2791667d2e3fb8c1f0abaff93fd8caaabb2b00b9.tar.gz llvm-2791667d2e3fb8c1f0abaff93fd8caaabb2b00b9.tar.bz2 |
[DAGCombiner] Check term use before applying aggressive FSUB optimisations
Summary:
Without this check unnecessary FMA instructions are generated when the FSUB terms are reused.
This also has the side-effect that the same value is computed to different levels of precision, which can create undesirable effects if the results are used together in subsequent computation.
Reviewers: arsenm, nhaehnle, foad, tpr, dstuttard, spatel
Reviewed By: arsenm
Subscribers: jvesely, wdng, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71656
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions