diff options
author | Vincent Lejeune <[email protected]> | 2012-09-11 17:56:39 +0200 |
---|---|---|
committer | Vincent Lejeune <[email protected]> | 2012-09-18 17:59:51 +0200 |
commit | 12c4526157ab029fd8c0b402d190cf5f7723b555 (patch) | |
tree | 55dc9d9b47ab58f1d8261a1f0a0e18d62a9f06e0 | |
parent | 88c3647e0bfb6595c1a706ecb9e28ea496abb6f1 (diff) |
radeon/llvm: reserve also corresponding 128bits reg
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
-rw-r--r-- | src/gallium/drivers/radeon/R600RegisterInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<unsigned>::const_iterator I = MFI->ReservedRegs.begin(), E = MFI->ReservedRegs.end(); I != E; ++I) { Reserved.set(*I); + Reserved.set(*(getSuperRegisters(*I))); } return Reserved; |