diff options
author | Craig Topper <craig.topper@sifive.com> | 2022-09-13 09:07:56 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2022-09-13 09:07:56 -0700 |
commit | efd5acf1201f593a70937b140da72e49b7d0e7b3 (patch) | |
tree | 1a1a4579e6f2d865a9387a49bffc67a301717dfb /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp | |
parent | 393a17b5d1d73cffa7d9cb5bf348a4a87e02b571 (diff) | |
download | llvm-efd5acf1201f593a70937b140da72e49b7d0e7b3.zip llvm-efd5acf1201f593a70937b140da72e49b7d0e7b3.tar.gz llvm-efd5acf1201f593a70937b140da72e49b7d0e7b3.tar.bz2 |
[LegalizeTypes][NVPTX] Remove extra compare from fallback code for ISD::ADD in ExpandIntRes_ADDSUB.
This is the ultimate fallback code if UADDO isn't supported.
If the target uses 0/1 we used one compare, but if the target doesn't
use 0/1 we emitted two compares. Regardless of boolean constants we
should only need to check that the Result is less than one of the
original operands. So we only need one compare.
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D133708
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
0 files changed, 0 insertions, 0 deletions