diff options
author | Tom Stellard <tstellar@redhat.com> | 2018-01-29 23:29:26 +0000 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2018-01-29 23:29:26 +0000 |
commit | 3ae38d271e1b5f7e221cffe3f08de0243469699b (patch) | |
tree | da54958d97e657740c35cb8f6d7e54e58b16b612 | |
parent | 571231a7fe81b17ed4b07823b31ddc9674d16a8e (diff) | |
download | bcm5719-llvm-3ae38d271e1b5f7e221cffe3f08de0243469699b.tar.gz bcm5719-llvm-3ae38d271e1b5f7e221cffe3f08de0243469699b.zip |
AMDGPU: Move ADDRIndirect complex pattern into R600Instructions.td
Summary: This is only used by R600.
Reviewers: arsenm
Reviewed By: arsenm
Subscribers: kzhuravl, wdng, nhaehnle, mgorny, yaxunl, dstuttard, tpr, t-tye, llvm-commits
Differential Revision: https://reviews.llvm.org/D37114
llvm-svn: 323709
-rw-r--r-- | llvm/lib/Target/AMDGPU/AMDGPUInstructions.td | 1 | ||||
-rw-r--r-- | llvm/lib/Target/AMDGPU/R600Instructions.td | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUInstructions.td b/llvm/lib/Target/AMDGPU/AMDGPUInstructions.td index 31f728b0c22..76d35469027 100644 --- a/llvm/lib/Target/AMDGPU/AMDGPUInstructions.td +++ b/llvm/lib/Target/AMDGPU/AMDGPUInstructions.td @@ -52,7 +52,6 @@ def UnsafeFPMath : Predicate<"TM.Options.UnsafeFPMath">; def FMA : Predicate<"Subtarget->hasFMA()">; def InstFlag : OperandWithDefaultOps <i32, (ops (i32 0))>; -def ADDRIndirect : ComplexPattern<iPTR, 2, "SelectADDRIndirect", [], []>; def u16ImmTarget : AsmOperandClass { let Name = "U16Imm"; diff --git a/llvm/lib/Target/AMDGPU/R600Instructions.td b/llvm/lib/Target/AMDGPU/R600Instructions.td index 801e4e61fca..664a690e95e 100644 --- a/llvm/lib/Target/AMDGPU/R600Instructions.td +++ b/llvm/lib/Target/AMDGPU/R600Instructions.td @@ -81,6 +81,7 @@ def ADDRDWord : ComplexPattern<i32, 1, "SelectADDRDWord", [], []>; def ADDRVTX_READ : ComplexPattern<i32, 2, "SelectADDRVTX_READ", [], []>; def ADDRGA_CONST_OFFSET : ComplexPattern<i32, 1, "SelectGlobalValueConstantOffset", [], []>; def ADDRGA_VAR_OFFSET : ComplexPattern<i32, 2, "SelectGlobalValueVariableOffset", [], []>; +def ADDRIndirect : ComplexPattern<iPTR, 2, "SelectADDRIndirect", [], []>; def R600_Pred : PredicateOperand<i32, (ops R600_Predicate), |