From 991dfd7b07011df1e403dfdfee0f8904814995d7 Mon Sep 17 00:00:00 2001 From: Jan Vesely Date: Mon, 4 Jul 2016 19:45:00 +0000 Subject: [PATCH] AMDGPU/R600: Add indentation to VTX and TEX fetch asm strings These are printed as part of Fetch clauses. Differential Revision: http://reviews.llvm.org/D21730 llvm-svn: 274517 --- llvm/lib/Target/AMDGPU/R600Instructions.td | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Target/AMDGPU/R600Instructions.td b/llvm/lib/Target/AMDGPU/R600Instructions.td index 431f923f70cd..e10cb22fb820 100644 --- a/llvm/lib/Target/AMDGPU/R600Instructions.td +++ b/llvm/lib/Target/AMDGPU/R600Instructions.td @@ -284,7 +284,7 @@ class EG_CF_RAT cfinst, bits <6> ratinst, bits<4> ratid, bits<4> mask, } class VTX_READ buffer_id, dag outs, list pattern> - : InstR600ISA , + : InstR600ISA , VTX_WORD1_GPR { // Static fields @@ -860,7 +860,7 @@ class R600_TEX inst, string opName> : 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 "