[PATCH] D157719: [AMDGPU] [SIFrameLowering] Replace LivePhysRegs with LiveRegUnits

Pranav Taneja via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 11 07:42:47 PDT 2023


tanejapranav created this revision.
tanejapranav added reviewers: cdevadas, arsenm, MatzeB, qcolombet.
Herald added subscribers: foad, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
tanejapranav requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

SIFrameLowering currently uses the LivePhysRegs utility class to 
track the liveness of registers. The LiveRegUnits appear to be a
better design that works on register units and expected to be a
slightly more compile time efficient, especially for targets that
have register tuples.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157719

Files:
  llvm/include/llvm/CodeGen/LiveRegUnits.h
  llvm/lib/CodeGen/LiveRegUnits.cpp
  llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
  llvm/lib/Target/AMDGPU/SIFrameLowering.h
  llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
  llvm/lib/Target/AMDGPU/SIRegisterInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157719.549391.patch
Type: text/x-patch
Size: 31440 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230811/c3550342/attachment.bin>


More information about the llvm-commits mailing list