From 12c4526157ab029fd8c0b402d190cf5f7723b555 Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Tue, 11 Sep 2012 17:56:39 +0200 Subject: radeon/llvm: reserve also corresponding 128bits reg Reviewed-by: Tom Stellard --- src/gallium/drivers/radeon/R600RegisterInfo.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/radeon') 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; -- cgit v1.2.3