Commit Graph

3 Commits

Author SHA1 Message Date
Cassie Jones 0596086242 [Test][AArch64] Test SADDE/SSUBE/UADDE/USUBE narrowing legalization
Reviewed By: paquette

Differential Revision: https://reviews.llvm.org/D96676
2021-02-22 19:59:36 -05:00
Cassie Jones f22f4557a7 [GlobalISel] Implement widenScalar for carry-in add/sub
These are widened to a wider UADDE/USUBE, with the overflow value
unused, and with the same synthesis of a new overflow value as for the
O operations.

Reviewed By: paquette

Differential Revision: https://reviews.llvm.org/D95326
2021-01-28 17:06:24 -05:00
Cassie Jones 40f6599c20 [AArch64][GlobalISel] Make G_SADDE and G_SSUBE legal
This makes G_SADDE and G_SSUBE legal in preparation for further work
legalizing overflowing operations. It's fine that they don't have an
instruction selector implementation yet, because G_UADDE and G_USUBE are
already legal on AArch64 without an instruction selector implementation. This
completes the set of G_[SU]{ADD,SUB}[EO] operations on AArch64.

Reviewed By: paquette

Differential Revision: https://reviews.llvm.org/D95325
2021-01-27 04:36:17 -05:00