[PATCH] D124948: [RISCV] Add integer min/max intrinsic tests. NFC

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 4 11:21:13 PDT 2022


craig.topper created this revision.
craig.topper added reviewers: reames, asb, luismarques, spatel, RKSimon.
Herald added subscribers: sunshaoce, VincentWu, luke957, StephenFan, vkmr, frasercrmck, evandro, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, arichardson.
Herald added a project: All.
craig.topper requested review of this revision.
Herald added subscribers: pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.

Add basic tests and some tests for same operands and all undef
operands inspired by PR55271.

i32 is umin/umax is using signext to match RISC-V ABI. i8/i16 are
using signext/zeroext to match the operation.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D124948

Files:
  llvm/test/CodeGen/RISCV/min-max.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124948.427075.patch
Type: text/x-patch
Size: 16831 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220504/ea4cd562/attachment.bin>


More information about the llvm-commits mailing list