Files
clang-p2996/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
Ulrich Weigand 6d5697f7cb [SystemZ] Fix ICE with i128->i64 uaddo carry chain
We can only optimize a uaddo_carry via specialized instruction
if the carry was produced by another uaddo(_carry) instruction;
there is already a check for that.

However, i128 uaddo(_carry) use a completely different mechanism;
they indicate carry in a vector register instead of the CC flag.
Thus, we must also check that we don't mix those two - that check
has been missing.

Fixes: https://github.com/llvm/llvm-project/issues/124001
2025-01-23 19:15:11 +01:00

390 KiB