[PATCH] D95325: [AArch64][GlobalISel] Make G_SADDE and G_SSUBE legal

Cassie Jones via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 24 17:58:48 PST 2021


porglezomp created this revision.
porglezomp added reviewers: paquette, aemerson.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls, rovka.
porglezomp requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95325

Files:
  llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-sadde.mir
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-ssube.mir
  llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95325.318885.patch
Type: text/x-patch
Size: 4991 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210125/1e6e2ab4/attachment.bin>


More information about the llvm-commits mailing list