[AArch64][GlobalISel] Make G_USUBO legal and select it.
authorCassie Jones <code@witchoflight.com>
Fri, 22 Jan 2021 02:48:09 +0000 (18:48 -0800)
committerAmara Emerson <amara@apple.com>
Fri, 22 Jan 2021 02:53:33 +0000 (18:53 -0800)
commit3dedad475da45c05bc4f66cd14e9f44581edf0bc
tree35fa420690b20baf7a5d94478cf6b3f18bbab4a8
parent96677503315e689fd3c8f5ef164d8fb9725d4bb3
[AArch64][GlobalISel] Make G_USUBO legal and select it.

The expansion for wide subtractions includes G_USUBO.

Differential Revision: https://reviews.llvm.org/D95032
llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/legalize-add.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalize-sub.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
llvm/test/CodeGen/AArch64/GlobalISel/select-saddo.mir [new file with mode: 0644]
llvm/test/CodeGen/AArch64/GlobalISel/select-ssubo.mir [new file with mode: 0644]
llvm/test/CodeGen/AArch64/GlobalISel/select-usubo.mir [new file with mode: 0644]