diff options
| author | Matthias Braun <matze@braunis.de> | 2015-07-14 17:52:07 +0000 |
|---|---|---|
| committer | Matthias Braun <matze@braunis.de> | 2015-07-14 17:52:07 +0000 |
| commit | 9912bb817cef9d1829acb4baec4a27b7eaf5b610 (patch) | |
| tree | fd24e6d6cd0c74144197fefd9b612624eafa5043 /llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp | |
| parent | 092c475e250af64e7b9ba459067d43cb71fb6dfd (diff) | |
| download | bcm5719-llvm-9912bb817cef9d1829acb4baec4a27b7eaf5b610.tar.gz bcm5719-llvm-9912bb817cef9d1829acb4baec4a27b7eaf5b610.zip | |
MachineRegisterInfo: Remove UsedPhysReg infrastructure
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.
Differential Revision: http://reviews.llvm.org/D10911
llvm-svn: 242173
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp')
| -rw-r--r-- | llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp b/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp index 587ea63d679..d23b92edef3 100644 --- a/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp +++ b/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp @@ -53,7 +53,6 @@ SIMachineFunctionInfo::SpilledReg SIMachineFunctionInfo::getSpilledReg( if (!LaneVGPRs.count(LaneVGPRIdx)) { unsigned LaneVGPR = TRI->findUnusedRegister(MRI, &AMDGPU::VGPR_32RegClass); LaneVGPRs[LaneVGPRIdx] = LaneVGPR; - MRI.setPhysRegUsed(LaneVGPR); // Add this register as live-in to all blocks to avoid machine verifer // complaining about use of an undefined physical register. |

