llvm.org GIT mirror llvm / 9fb28b7
Merging r227462: ------------------------------------------------------------------------ r227462 | thomas.stellard | 2015-01-29 11:55:28 -0500 (Thu, 29 Jan 2015) | 2 lines R600/SI: Remove stray debug statements ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_36@227597 91177308-0d34-0410-b5e6-96231b3b80d8 Tom Stellard 5 years ago
1 changed file(s) with 1 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
2222 #include "llvm/IR/Function.h"
2323 #include "llvm/IR/LLVMContext.h"
2424
25 #include "llvm/Support/Debug.h"
2625 using namespace llvm;
2726
2827 SIRegisterInfo::SIRegisterInfo(const AMDGPUSubtarget &st)
139138 unsigned Size = NumSubRegs * 4;
140139
141140 if (!isUInt<12>(Offset + Size)) {
142 dbgs() << "Offset scavenge\n";
143141 SOffset = RS->scavengeRegister(&AMDGPU::SGPR_32RegClass, MI, 0);
144142 if (SOffset == AMDGPU::NoRegister) {
145143 RanOutOfSGPRs = true;
234232 Ctx.emitError("Ran out of VGPRs for spilling SGPR");
235233 }
236234
237 if (isM0) {
238 dbgs() << "Scavenge M0\n";
235 if (isM0)
239236 SubReg = RS->scavengeRegister(&AMDGPU::SGPR_32RegClass, MI, 0);
240 }
241237
242238 BuildMI(*MBB, MI, DL, TII->get(AMDGPU::V_READLANE_B32), SubReg)
243239 .addReg(Spill.VGPR)