[PATCH] D145159: [AMDGPU] Match med3 for (max (min ..))

Pierre van Houtryve via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 2 06:42:42 PST 2023


Pierre-vh created this revision.
Pierre-vh added reviewers: arsenm, foad.
Herald added subscribers: kosarev, StephenFan, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
Pierre-vh requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

We previously only matched (min (max ...))

Depends on D144728 <https://reviews.llvm.org/D144728>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145159

Files:
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/lib/Target/AMDGPU/SIISelLowering.h
  llvm/test/CodeGen/AMDGPU/saddsat.ll
  llvm/test/CodeGen/AMDGPU/ssubsat.ll
  llvm/test/CodeGen/AMDGPU/v_sat_pk_u8_i16.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145159.501850.patch
Type: text/x-patch
Size: 23368 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230302/ee7095fc/attachment.bin>


More information about the llvm-commits mailing list