[AMDGPU] Do not handle _SGPR SMEM instructions in SILoadStoreOptimizer
authorJay Foad <jay.foad@amd.com>
Tue, 25 Apr 2023 09:26:46 +0000 (10:26 +0100)
committerJay Foad <jay.foad@amd.com>
Tue, 25 Apr 2023 14:40:13 +0000 (15:40 +0100)
commit0c13e0b748befd1001056165c6553e12c077ad17
treed3fae5989264a2c7cdfcfff0947cd1f967af3b0b
parent8c4eb7905314c9cb03738ff6cb5517439826d02d
[AMDGPU] Do not handle _SGPR SMEM instructions in SILoadStoreOptimizer

After D147334 we never select _SGPR forms of SMEM instructions on
subtargets that also support the _SGPR_IMM form, so there is no need to
handle them here.

Differential Revision: https://reviews.llvm.org/D149139
llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
llvm/test/CodeGen/AMDGPU/merge-sbuffer-load.mir