[AMDGPU] Fix image opcodes GlobalISel on gfx90a.
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Tue, 24 May 2022 18:43:00 +0000 (11:43 -0700)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Tue, 31 May 2022 21:07:46 +0000 (14:07 -0700)
commitdec12832797359b1dce34e71499c3642185f4ec3
treeb4a0f211b268f391ba1d43b6de4d13b8fa79e427
parentd0d985c1967bec985461b609b197f5cae035723f
[AMDGPU] Fix image opcodes GlobalISel on gfx90a.

- Correct flavor of an instruction was not selected.
- GFX90A does not support TFE.

Differential Revision: https://reviews.llvm.org/D126312
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.atomic.dim.ll
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.dim.gfx90a.ll
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.dim.gfx90a.ll