projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de28bda
)
R600/SI: Mark the EXEC register as reserved
author
Tom Stellard
<thomas.stellard@amd.com>
Thu, 10 Oct 2013 17:11:19 +0000
(17:11 +0000)
committer
Tom Stellard
<thomas.stellard@amd.com>
Thu, 10 Oct 2013 17:11:19 +0000
(17:11 +0000)
This prevents the machine verifier from complaining about uses of
an undefined physical register.
Reviewed-by: Vincent Lejeune<vljn at ovi.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192364
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/R600/SIRegisterInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/R600/SIRegisterInfo.cpp
b/lib/Target/R600/SIRegisterInfo.cpp
index 5d12564fe8ba8839d36a110426946eb5f5f8a9b9..7f69ef6f2868c8efafc998bcafc5393903185a67 100644
(file)
--- a/
lib/Target/R600/SIRegisterInfo.cpp
+++ b/
lib/Target/R600/SIRegisterInfo.cpp
@@
-25,6
+25,7
@@
SIRegisterInfo::SIRegisterInfo(AMDGPUTargetMachine &tm)
BitVector SIRegisterInfo::getReservedRegs(const MachineFunction &MF) const {
BitVector Reserved(getNumRegs());
+ Reserved.set(AMDGPU::EXEC);
return Reserved;
}