[PATCH] D138813: [AArch64] implement GPR (U/S)(MIN/MAX) instruction SDag support

Ties Stuij via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 28 06:34:53 PST 2022


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

Using SelectionDag, lower umin, umax, smin, smax intrinsics to corresponding
UMIN, UMAX, SMIN, SMAX instructions when feat CSSC is available.

See specs for corresponding immediate and register versions in:
https://developer.arm.com/documentation/ddi0602/2022-09/Base-Instructions/


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138813

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64InstrInfo.td
  llvm/test/CodeGen/AArch64/min-max.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138813.478223.patch
Type: text/x-patch
Size: 26131 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221128/3530f949/attachment.bin>


More information about the llvm-commits mailing list