[PATCH] D10911: MachineRegisterInfo: Remove UsedPhysReg infrastructure

Matthias Braun matze at braunis.de
Thu Jul 2 14:53:54 PDT 2015


MatzeB created this revision.
MatzeB added reviewers: qcolombet, atrick.
MatzeB added a subscriber: llvm-commits-list.
MatzeB set the repository for this revision to rL LLVM.
Herald added a subscriber: MatzeB.

We have a detailed def/use lists for every physical register in
MachineRegisterInfo anyway, so there is little use in maintaining an
additional bitset of which ones are used.

Removing it frees us from extra book keeping. This simplifies
VirtRegMap.

This depends on: http://reviews.llvm.org/D10909 http://reviews.llvm.org/D10910

rL LLVM

http://reviews.llvm.org/D10911

Files:
  include/llvm/CodeGen/LiveRegMatrix.h
  include/llvm/CodeGen/MachineRegisterInfo.h
  lib/CodeGen/ExecutionDepsFix.cpp
  lib/CodeGen/LiveRegMatrix.cpp
  lib/CodeGen/MachineRegisterInfo.cpp
  lib/CodeGen/PrologEpilogInserter.cpp
  lib/CodeGen/RegAllocFast.cpp
  lib/CodeGen/VirtRegMap.cpp
  lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp
  lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
  lib/Target/AMDGPU/SIPrepareScratchRegs.cpp
  lib/Target/AMDGPU/SIRegisterInfo.cpp
  lib/Target/Hexagon/HexagonFrameLowering.cpp
  lib/Target/PowerPC/PPCFrameLowering.cpp
  lib/Target/Sparc/SparcFrameLowering.cpp
  lib/Target/X86/X86FloatingPoint.cpp
  lib/Target/X86/X86FrameLowering.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10911.28979.patch
Type: text/x-patch
Size: 19343 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150702/9451519e/attachment.bin>


More information about the llvm-commits mailing list