[PATCH] D105413: [ARM] Add lowering of uadd_sat to uq{add|sub}8 and uq{add|sub}16

Daniel Egger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 4 16:47:12 PDT 2021


therealprof created this revision.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
therealprof requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This follow the lead of https://reviews.llvm.org/D68974 to add lowering
of unsigned saturated addition/subtraction.

Signed-off-by: Daniel Egger <daniel at eggers-club.de>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105413

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/ARM/ARMISelLowering.h
  llvm/lib/Target/ARM/ARMInstrInfo.td
  llvm/lib/Target/ARM/ARMInstrThumb2.td
  llvm/test/CodeGen/ARM/uadd_sat.ll
  llvm/test/CodeGen/ARM/uadd_sat_plus.ll
  llvm/test/CodeGen/ARM/usub_sat.ll
  llvm/test/CodeGen/ARM/usub_sat_plus.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105413.356407.patch
Type: text/x-patch
Size: 18054 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210704/77e79d1f/attachment.bin>


More information about the llvm-commits mailing list