forked from OSchip/llvm-project
AMDGPU: Move INDIRECT_BASE_ADDR definition out of common files
Summary: This is only used by R600. Reviewers: arsenm Reviewed By: arsenm Subscribers: kzhuravl, wdng, nhaehnle, yaxunl, dstuttard, tpr, llvm-commits, t-tye Differential Revision: https://reviews.llvm.org/D35926 llvm-svn: 309476
This commit is contained in:
parent
d87f54493d
commit
5c50cdf0e8
|
@ -17,8 +17,6 @@ foreach Index = 0-15 in {
|
|||
def sub#Index : SubRegIndex<32, !shl(Index, 5)>;
|
||||
}
|
||||
|
||||
def INDIRECT_BASE_ADDR : Register <"INDIRECT_BASE_ADDR">;
|
||||
|
||||
}
|
||||
|
||||
include "R600RegisterInfo.td"
|
||||
|
|
|
@ -147,6 +147,7 @@ def PRED_SEL_OFF: R600Reg<"Pred_sel_off", 0>;
|
|||
def PRED_SEL_ZERO : R600Reg<"Pred_sel_zero", 2>;
|
||||
def PRED_SEL_ONE : R600Reg<"Pred_sel_one", 3>;
|
||||
def AR_X : R600Reg<"AR.x", 0>;
|
||||
def INDIRECT_BASE_ADDR : R600Reg <"INDIRECT_BASE_ADDR", 0>;
|
||||
|
||||
def R600_ArrayBase : RegisterClass <"AMDGPU", [f32, i32], 32,
|
||||
(add (sequence "ArrayBase%u", 448, 480))>;
|
||||
|
|
|
@ -148,7 +148,6 @@ unsigned SIRegisterInfo::reservedStackPtrOffsetReg(
|
|||
|
||||
BitVector SIRegisterInfo::getReservedRegs(const MachineFunction &MF) const {
|
||||
BitVector Reserved(getNumRegs());
|
||||
Reserved.set(AMDGPU::INDIRECT_BASE_ADDR);
|
||||
|
||||
// EXEC_LO and EXEC_HI could be allocated and used as regular register, but
|
||||
// this seems likely to result in bugs, so I'm marking them as reserved.
|
||||
|
|
Loading…
Reference in New Issue