diff options
| author | Craig Topper <craig.topper@sifive.com> | 2023-08-17 14:27:45 -0700 | 
|---|---|---|
| committer | Craig Topper <craig.topper@sifive.com> | 2023-08-17 15:06:16 -0700 | 
| commit | ebb2e5ebb2a669824499fc074d948cd28a831151 (patch) | |
| tree | 80ce745b17805b72818c34aa5eea533307398292 /llvm/tools/llvm-ml/llvm-ml.cpp | |
| parent | b5c106e873f780b2f54fec9817acfd252724bcb3 (diff) | |
| download | llvm-ebb2e5ebb2a669824499fc074d948cd28a831151.zip llvm-ebb2e5ebb2a669824499fc074d948cd28a831151.tar.gz llvm-ebb2e5ebb2a669824499fc074d948cd28a831151.tar.bz2 | |
[GlobalISel][Mips] Correct corner case in G_UADDE legalization.
If carryin was 1, and RHS is 0xffffffff we were not giving a carry
out.
In that case Res would be equal to LHS, so Res <u LHS would be false.
But there should be a carry out since carryin+RHS wraps around to 0.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D157943
Diffstat (limited to 'llvm/tools/llvm-ml/llvm-ml.cpp')
0 files changed, 0 insertions, 0 deletions
