[AMDGPU] Fix size of SOPK instructions to 4 bytes
authorAnshil Gandhi <gandhi21299@gmail.com>
Tue, 20 Sep 2022 20:23:46 +0000 (14:23 -0600)
committerAnshil Gandhi <gandhi21299@gmail.com>
Tue, 20 Sep 2022 20:27:09 +0000 (14:27 -0600)
commita0c53524a55d01a70a6b1278ebb9844b792af30b
tree7386a1c2607ba1cb4c1f77a076c8e4a29fde58cc
parentb751da43b2bdccda78f30ac8411b6396c0be6874
[AMDGPU] Fix size of SOPK instructions to 4 bytes

Instructions in SOPK format may not have 32-bit
literal constants following the instruction.

Differential Revision: https://reviews.llvm.org/D133972
llvm/lib/Target/AMDGPU/SOPInstructions.td
llvm/test/CodeGen/AMDGPU/sopk-no-literal.ll [new file with mode: 0644]