[PATCH] D21730: AMDGPU/R600: Add offset to VTX and TEX fetch asm strings
    Jan Vesely via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sat Jun 25 15:59:11 PDT 2016
    
    
  
jvesely created this revision.
jvesely added a reviewer: tstellarAMD.
jvesely added subscribers: arsenm, llvm-commits.
jvesely set the repository for this revision to rL LLVM.
Herald added a subscriber: kzhuravl.
These are printed as part Fetch clauses.
Repository:
  rL LLVM
http://reviews.llvm.org/D21730
Files:
  lib/Target/AMDGPU/R600Instructions.td
Index: lib/Target/AMDGPU/R600Instructions.td
===================================================================
--- lib/Target/AMDGPU/R600Instructions.td
+++ lib/Target/AMDGPU/R600Instructions.td
@@ -284,7 +284,7 @@
 }
 
 class VTX_READ <string name, bits<8> buffer_id, dag outs, list<dag> pattern>
-    : InstR600ISA <outs, (ins MEMxi:$src_gpr), name, pattern>,
+    : InstR600ISA <outs, (ins MEMxi:$src_gpr), !strconcat("  ", name), pattern>,
       VTX_WORD1_GPR {
 
   // Static fields
@@ -886,7 +886,7 @@
           i32imm:$RESOURCE_ID, i32imm:$SAMPLER_ID,
           CT:$COORD_TYPE_X, CT:$COORD_TYPE_Y, CT:$COORD_TYPE_Z,
           CT:$COORD_TYPE_W),
-          !strconcat(opName,
+          !strconcat("  ", opName,
           " $DST_GPR.$DST_SEL_X$DST_SEL_Y$DST_SEL_Z$DST_SEL_W, "
           "$SRC_GPR.$srcx$srcy$srcz$srcw "
           "RID:$RESOURCE_ID SID:$SAMPLER_ID "
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21730.61898.patch
Type: text/x-patch
Size: 881 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160625/e9b1b065/attachment.bin>
    
    
More information about the llvm-commits
mailing list