[AMDGPU] Add GFX11 feature for subtargets with more VGPRs
authorJay Foad <jay.foad@amd.com>
Fri, 23 Sep 2022 08:02:49 +0000 (09:02 +0100)
committerJay Foad <jay.foad@amd.com>
Fri, 23 Sep 2022 19:18:23 +0000 (20:18 +0100)
commitddfa0f62d851def2bf6dad16d3abe671f54c3ccd
tree3f4efbe15d4d70fd11638d168a54508f7e19f780
parentd2e434c378423477321d98f8b0224760d24c877a
[AMDGPU] Add GFX11 feature for subtargets with more VGPRs

The full complement of physical VGPRs for GFX11 is 50% more than GFX10.
Some subtargets have this, others stay the same as GFX10. This affects
occupancy calculations.

Differential Revision: https://reviews.llvm.org/D134522
llvm/lib/Target/AMDGPU/AMDGPU.td
llvm/lib/Target/AMDGPU/GCNSubtarget.h
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.i128.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.large.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll
llvm/test/CodeGen/AMDGPU/attr-amdgpu-flat-work-group-size-vgpr-limit.ll
llvm/test/CodeGen/AMDGPU/occupancy-levels.ll