[PATCH] D37114: AMDGPU: Move ADDRIndirect complex pattern into R600Instructions.td

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 29 15:33:18 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL323709: AMDGPU: Move ADDRIndirect complex pattern into R600Instructions.td (authored by tstellar, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D37114?vs=112585&id=131889#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D37114

Files:
  llvm/trunk/lib/Target/AMDGPU/AMDGPUInstructions.td
  llvm/trunk/lib/Target/AMDGPU/R600Instructions.td


Index: llvm/trunk/lib/Target/AMDGPU/AMDGPUInstructions.td
===================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPUInstructions.td
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPUInstructions.td
@@ -52,7 +52,6 @@
 def FMA : Predicate<"Subtarget->hasFMA()">;
 
 def InstFlag : OperandWithDefaultOps <i32, (ops (i32 0))>;
-def ADDRIndirect : ComplexPattern<iPTR, 2, "SelectADDRIndirect", [], []>;
 
 def u16ImmTarget : AsmOperandClass {
   let Name = "U16Imm";
Index: llvm/trunk/lib/Target/AMDGPU/R600Instructions.td
===================================================================
--- llvm/trunk/lib/Target/AMDGPU/R600Instructions.td
+++ llvm/trunk/lib/Target/AMDGPU/R600Instructions.td
@@ -81,6 +81,7 @@
 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),


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37114.131889.patch
Type: text/x-patch
Size: 1148 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180129/7c8ced8e/attachment.bin>


More information about the llvm-commits mailing list