[PATCH] D144729: [AMDGPU] Select v_sat_pk_u8_i16
Pierre van Houtryve via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 24 05:48:43 PST 2023
Pierre-vh created this revision.
Pierre-vh added reviewers: foad, arsenm.
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.
The backend knew about `v_sat_pk_u8_i16` but never made use of it.
This patch adds selection patterns (DAG/GISel) for that instruction.
I think it'll be very rarely used, but at least it's possible to use it.
Depends on D144728 <https://reviews.llvm.org/D144728>
Solves #58266 (https://github.com/llvm/llvm-project/issues/58266)
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D144729
Files:
llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
llvm/lib/Target/AMDGPU/SIInstructions.td
llvm/test/CodeGen/AMDGPU/v_pk_sat_u8_i16.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144729.500163.patch
Type: text/x-patch
Size: 14107 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230224/5baa58ec/attachment.bin>
More information about the llvm-commits
mailing list