From: Vincent Lejeune Date: Tue, 11 Sep 2012 15:56:39 +0000 (+0200) Subject: radeon/llvm: reserve also corresponding 128bits reg X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=12c4526157ab029fd8c0b402d190cf5f7723b555;p=mesa.git radeon/llvm: reserve also corresponding 128bits reg Reviewed-by: Tom Stellard --- diff --git a/src/gallium/drivers/radeon/R600RegisterInfo.cpp b/src/gallium/drivers/radeon/R600RegisterInfo.cpp index ef6bf878f6f..4096cb050bf 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::const_iterator I = MFI->ReservedRegs.begin(), E = MFI->ReservedRegs.end(); I != E; ++I) { Reserved.set(*I); + Reserved.set(*(getSuperRegisters(*I))); } return Reserved;