Skip to content
Commit ebb2e5eb authored by Craig Topper's avatar Craig Topper
Browse files

[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
parent b5c106e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment