[Mesa-dev] [PATCH] radeon/llvm: reserve also corresponding 128bits reg
Vincent Lejeune
vljn at ovi.com
Tue Sep 11 13:34:17 PDT 2012
---
src/gallium/drivers/radeon/R600RegisterInfo.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/radeon/R600RegisterInfo.cpp b/src/gallium/drivers/radeon/R600RegisterInfo.cpp
index ef6bf87..4096cb0 100644
--- a/src/gallium/drivers/radeon/R600RegisterInfo.cpp
+++ b/src/gallium/drivers/radeon/R600RegisterInfo.cpp
@@ -50,6 +50,7 @@ BitVector R600RegisterInfo::getReservedRegs(const MachineFunction &MF) const
for (std::vector<unsigned>::const_iterator I = MFI->ReservedRegs.begin(),
E = MFI->ReservedRegs.end(); I != E; ++I) {
Reserved.set(*I);
+ Reserved.set(*(getSuperRegisters(*I)));
}
return Reserved;
--
1.7.11.4
More information about the mesa-dev
mailing list