[PATCH] D95326: [GlobalISel] Implement widenScalar for carry-in add/sub

Cassie Jones via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 24 18:05:37 PST 2021


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

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95326

Files:
  llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
  llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-sadde.mir
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-ssube.mir
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-uadde.mir
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-usube.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sadde.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ssube.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-uadde.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-usube.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95326.318887.patch
Type: text/x-patch
Size: 19352 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210125/e1c12ffc/attachment.bin>


More information about the llvm-commits mailing list