diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-02-07 14:02:37 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-02-07 14:02:37 +0000 |
commit | 07b59ba69713f9aabb7597193f0df4b02c29d8f9 (patch) | |
tree | a061f841c20c805374479ef5a333fba7d9d84b4d /lib/Target/R600/AMDGPURegisterInfo.td | |
parent | 1234c9be42b4ebd4b398df461123205dccf3706c (diff) | |
download | llvm-07b59ba69713f9aabb7597193f0df4b02c29d8f9.tar.gz llvm-07b59ba69713f9aabb7597193f0df4b02c29d8f9.tar.bz2 llvm-07b59ba69713f9aabb7597193f0df4b02c29d8f9.tar.xz |
R600: Consolidate sub register indices.
Use sub0-15 everywhere.
Patch by: Michel Dänzerr
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174610 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600/AMDGPURegisterInfo.td')
-rw-r--r-- | lib/Target/R600/AMDGPURegisterInfo.td | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Target/R600/AMDGPURegisterInfo.td b/lib/Target/R600/AMDGPURegisterInfo.td index 0b4482cc51..b5aca0347f 100644 --- a/lib/Target/R600/AMDGPURegisterInfo.td +++ b/lib/Target/R600/AMDGPURegisterInfo.td @@ -12,14 +12,9 @@ //===----------------------------------------------------------------------===// let Namespace = "AMDGPU" in { - def sel_x : SubRegIndex; - def sel_y : SubRegIndex; - def sel_z : SubRegIndex; - def sel_w : SubRegIndex; - foreach Index = 0-15 in { - def indirect_#Index : SubRegIndex; + def sub#Index : SubRegIndex; } def INDIRECT_BASE_ADDR : Register <"INDIRECT_BASE_ADDR">; |