[llvm] r192364 - R600/SI: Mark the EXEC register as reserved
Tom Stellard
thomas.stellard at amd.com
Thu Oct 10 10:11:20 PDT 2013
Author: tstellar
Date: Thu Oct 10 12:11:19 2013
New Revision: 192364
URL: http://llvm.org/viewvc/llvm-project?rev=192364&view=rev
Log:
R600/SI: Mark the EXEC register as reserved
This prevents the machine verifier from complaining about uses of
an undefined physical register.
Reviewed-by: Vincent Lejeune<vljn at ovi.com>
Modified:
llvm/trunk/lib/Target/R600/SIRegisterInfo.cpp
Modified: llvm/trunk/lib/Target/R600/SIRegisterInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/SIRegisterInfo.cpp?rev=192364&r1=192363&r2=192364&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/SIRegisterInfo.cpp (original)
+++ llvm/trunk/lib/Target/R600/SIRegisterInfo.cpp Thu Oct 10 12:11:19 2013
@@ -25,6 +25,7 @@ SIRegisterInfo::SIRegisterInfo(AMDGPUTar
BitVector SIRegisterInfo::getReservedRegs(const MachineFunction &MF) const {
BitVector Reserved(getNumRegs());
+ Reserved.set(AMDGPU::EXEC);
return Reserved;
}
More information about the llvm-commits
mailing list