[AMDGPU] Mark s_get_waveid_in_workgroup as not reading memory
authorJay Foad <jay.foad@amd.com>
Thu, 19 May 2022 15:52:41 +0000 (16:52 +0100)
committerJay Foad <jay.foad@amd.com>
Thu, 19 May 2022 20:25:46 +0000 (21:25 +0100)
commit9ece0518471a28348324d05111f22f8143475715
treeb90b43dd30489832dce8d6182e57e2e5f1e8d4fc
parent86b55edab6879f9e4c80a374629f548c6351e2c0
[AMDGPU] Mark s_get_waveid_in_workgroup as not reading memory

It is already marked as having side effects, at least in MIR. It does
not interact with anything else that is modelled as a memory access
either in IR or MachineIR.

Differential Revision: https://reviews.llvm.org/D125985
llvm/include/llvm/IR/IntrinsicsAMDGPU.td
llvm/lib/Target/AMDGPU/SMInstructions.td