[PATCH] D21730: AMDGPU/R600: Add indentation to VTX and TEX fetch asm strings

Jan Vesely via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 4 12:52:20 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL274517: AMDGPU/R600: Add indentation to VTX and TEX fetch asm strings (authored by jvesely).

Changed prior to commit:
  http://reviews.llvm.org/D21730?vs=61898&id=62709#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D21730

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

Index: llvm/trunk/lib/Target/AMDGPU/R600Instructions.td
===================================================================
--- llvm/trunk/lib/Target/AMDGPU/R600Instructions.td
+++ llvm/trunk/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
@@ -860,7 +860,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.62709.patch
Type: text/x-patch
Size: 914 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160704/21e33f57/attachment.bin>


More information about the llvm-commits mailing list