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

Pierre van Houtryve via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 6 05:00:56 PST 2023


Pierre-vh updated this revision to Diff 502598.
Pierre-vh marked 4 inline comments as done.
Pierre-vh added a comment.

Remove ext to i32 if med3_16 is not available


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145159/new/

https://reviews.llvm.org/D145159

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145159.502598.patch
Type: text/x-patch
Size: 28150 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230306/173d6cc4/attachment.bin>


More information about the llvm-commits mailing list