[AMDGPU] Don't assert that image intrinsics are supported
authorJay Foad <jay.foad@amd.com>
Wed, 12 Apr 2023 17:33:01 +0000 (18:33 +0100)
committerJay Foad <jay.foad@amd.com>
Sun, 16 Apr 2023 18:54:55 +0000 (19:54 +0100)
commit6b5067a81a698142c4f5bd9405cede9191901fe2
tree41777c499e312d7a7f8d1cd20a639230067bcf26
parente740cb1d75aac413651b81fe97e823d12de595b6
[AMDGPU] Don't assert that image intrinsics are supported

Unsupported intrinsics should give a regular "cannot select" error.

Differential Revision: https://reviews.llvm.org/D148147
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.gather4.o.dim.ll
llvm/test/CodeGen/AMDGPU/fp-min-max-image-atomics.ll
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.o.dim.ll