[AMDGPU] Use GFX11 S_PACK_HL instruction in more cases
authorJoe Nash <Joseph.Nash@amd.com>
Mon, 20 Jun 2022 13:51:10 +0000 (09:51 -0400)
committerJay Foad <jay.foad@amd.com>
Tue, 28 Jun 2022 13:35:19 +0000 (14:35 +0100)
commitf1cfaa956def453c2df086ce38665a2669246e5d
treebd66aefb0a805b3aa783e046c3d1257e4ba7a24a
parentae35635f346a1846959c913e29e60e2398ffb0e0
[AMDGPU] Use GFX11 S_PACK_HL instruction in more cases

Differential Revision: https://reviews.llvm.org/D128527
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/lib/Target/AMDGPU/SIInstructions.td
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-build-vector-trunc.v2s16.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/saddsat.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/ssubsat.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/uaddsat.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/usubsat.ll
llvm/test/CodeGen/AMDGPU/build_vector.ll