AMDGPU/GlobalISel: Select llvm.amdgcn.groupstaticsize
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 26 Jul 2020 19:43:48 +0000 (15:43 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 18 Aug 2020 13:28:01 +0000 (09:28 -0400)
commit2f5f5febf3e4fa9bc80e8a8f63a99d3e6813c499
tree4ca53f1df82d3c4904e0e7d4db2680731df6ae8e
parent3ba7777b94d887af594ba8d6c1378166bd361a20
AMDGPU/GlobalISel: Select llvm.amdgcn.groupstaticsize

Previously, it would successfully select and assert if not HSA or PAL
when expanding the pseudoinstruction. We don't need the
pseudoinstruction anymore since we know the total size after
legalization.
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.groupstaticsize.mir [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.groupstaticsize.ll