[AMDGPU] Remove gds operand from ds_gws_* MachineInstrs
authorJay Foad <jay.foad@amd.com>
Thu, 29 Oct 2020 10:20:54 +0000 (10:20 +0000)
committerJay Foad <jay.foad@amd.com>
Thu, 29 Oct 2020 15:04:23 +0000 (15:04 +0000)
commit7a79921edd74e81a05f15491e5cdb093c653e06c
tree81fc4ee3da292d82861667700545052625de68b7
parenta442fad911b3da4ba39a14539c5a100b5935341e
[AMDGPU] Remove gds operand from ds_gws_* MachineInstrs

The operand value was always 1 (except in some bad MIR tests) so it was
redundant.

Differential Revision: https://reviews.llvm.org/D90378
llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
llvm/lib/Target/AMDGPU/DSInstructions.td
llvm/test/CodeGen/AMDGPU/gws-hazards.mir
llvm/test/CodeGen/AMDGPU/insert-skips-gws.mir
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.gws.barrier.ll
llvm/test/CodeGen/AMDGPU/merge-m0.mir
llvm/test/CodeGen/AMDGPU/post-ra-sched-kill-bundle-use-inst.mir
llvm/test/CodeGen/AMDGPU/scheduler-handle-move-bundle.mir