[AMDGPU] GFX11: remove ShaderType from ds_ordered_count offset field
authorRodrigo Dominguez <Rodrigo.Dominguez@amd.com>
Tue, 30 Mar 2021 17:53:17 +0000 (13:53 -0400)
committerJay Foad <jay.foad@amd.com>
Thu, 23 Jun 2022 13:20:33 +0000 (14:20 +0100)
commit971fa4b1961bcf8013481d0fe1d4864d7adda0f8
tree075ce7f74bee93008141325fc5e02591ea8bed20
parent74c3f9c1914eb85314fe0f4fd631b4ba32f17b2c
[AMDGPU] GFX11: remove ShaderType from ds_ordered_count offset field

In GFX11 ShaderType is determined by the hardware and should no longer
be written into bits[3:2] of the ds_ordered_count offset field.

Differential Revision: https://reviews.llvm.org/D128196
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.ordered.add.gfx11.ll