diff options
author | Itay Bookstein <ibookstein@gmail.com> | 2019-10-25 18:10:41 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-10-25 18:10:51 +0300 |
commit | 59a51d84b3a4f96bcc9669ee9c2b2041175a2ccd (patch) | |
tree | f434c3e11a07ece872fc758d6faae332a1f2b391 /lldb/scripts/Python | |
parent | 6df7ef0d8baac34259e2c93043d843f27812c534 (diff) | |
download | llvm-59a51d84b3a4f96bcc9669ee9c2b2041175a2ccd.zip llvm-59a51d84b3a4f96bcc9669ee9c2b2041175a2ccd.tar.gz llvm-59a51d84b3a4f96bcc9669ee9c2b2041175a2ccd.tar.bz2 |
[CodeGen][SelectionDAG] Fix tiny bug in ExpandIntRes_UADDSUBO
Summary:
Ternary expression checks for ISD::ADD instead of ISD::UADDO inside DAGTypeLegalizer::ExpandIntRes_UADDSUBO.
This means the ternary expression will evaluate to ISD::SUBCARRY for both ISD::UADDO and ISD::USUBO nodes.
Targets are likely to implement both, so impact will be very limited in practice.
Reviewers: bogner, lebedev.ri
Reviewed By: lebedev.ri
Subscribers: lebedev.ri, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68123
Diffstat (limited to 'lldb/scripts/Python')
0 files changed, 0 insertions, 0 deletions