[PATCH] D134522: [AMDGPU] Add GFX11 feature for subtargets with extra VGPRs

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 23 01:05:35 PDT 2022


foad created this revision.
foad added reviewers: AMDGPU, rampitec, Joe_Nash.
Herald added subscribers: kosarev, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl, arsenm.
Herald added a project: All.
foad requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Some GFX11 subtargets have 50% extra physical VGPRs compared to standard
GFX10/GFX11. This affects occupancy calculations.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134522

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134522.462413.patch
Type: text/x-patch
Size: 41492 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220923/fb5e730e/attachment.bin>


More information about the llvm-commits mailing list