[llvm-branch-commits] [llvm-branch] r166415 - /llvm/branches/R600/lib/Target/AMDGPU/R600ISelLowering.cpp
Tom Stellard
thomas.stellard at amd.com
Mon Oct 22 08:04:10 PDT 2012
Author: tstellar
Date: Mon Oct 22 10:04:10 2012
New Revision: 166415
URL: http://llvm.org/viewvc/llvm-project?rev=166415&view=rev
Log:
R600: Add super reg to reserved reg list
Patch by: Vincent Lejeune
Modified:
llvm/branches/R600/lib/Target/AMDGPU/R600ISelLowering.cpp
Modified: llvm/branches/R600/lib/Target/AMDGPU/R600ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/R600/lib/Target/AMDGPU/R600ISelLowering.cpp?rev=166415&r1=166414&r2=166415&view=diff
==============================================================================
--- llvm/branches/R600/lib/Target/AMDGPU/R600ISelLowering.cpp (original)
+++ llvm/branches/R600/lib/Target/AMDGPU/R600ISelLowering.cpp Mon Oct 22 10:04:10 2012
@@ -169,6 +169,9 @@
unsigned ReservedReg =
AMDGPU::R600_TReg32RegClass.getRegister(ReservedIndex);
MFI->ReservedRegs.push_back(ReservedReg);
+ unsigned SuperReg =
+ AMDGPU::R600_Reg128RegClass.getRegister(ReservedIndex / 4);
+ MFI->ReservedRegs.push_back(SuperReg);
break;
}
More information about the llvm-branch-commits
mailing list