[PATCH] D35926: AMDGPU: Move INDIRECT_BASE_ADDR definition out of common files
Tom Stellard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 26 21:00:49 PDT 2017
tstellar created this revision.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl.
This is only used by R600.
https://reviews.llvm.org/D35926
Files:
lib/Target/AMDGPU/AMDGPURegisterInfo.td
lib/Target/AMDGPU/R600RegisterInfo.td
Index: lib/Target/AMDGPU/R600RegisterInfo.td
===================================================================
--- lib/Target/AMDGPU/R600RegisterInfo.td
+++ lib/Target/AMDGPU/R600RegisterInfo.td
@@ -147,6 +147,7 @@
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))>;
Index: lib/Target/AMDGPU/AMDGPURegisterInfo.td
===================================================================
--- lib/Target/AMDGPU/AMDGPURegisterInfo.td
+++ lib/Target/AMDGPU/AMDGPURegisterInfo.td
@@ -17,8 +17,6 @@
def sub#Index : SubRegIndex<32, !shl(Index, 5)>;
}
-def INDIRECT_BASE_ADDR : Register <"INDIRECT_BASE_ADDR">;
-
}
include "R600RegisterInfo.td"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35926.108412.patch
Type: text/x-patch
Size: 918 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170727/2f99eb46/attachment.bin>
More information about the llvm-commits
mailing list