Skip to content

Commit

Permalink
[AMDGPU] GFX11 trivial NFC tweaks
Browse files Browse the repository at this point in the history
A few miscellaneous comment, whitespace and indentation tweaks.
  • Loading branch information
jayfoad committed Jul 5, 2022
1 parent 07b185e commit 4dbc287
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion llvm/include/llvm/IR/IntrinsicsAMDGPU.td
Expand Up @@ -1338,7 +1338,7 @@ def int_amdgcn_exp : Intrinsic <[], [
LLVMMatchType<0>, // src2
LLVMMatchType<0>, // src3
llvm_i1_ty, // done
llvm_i1_ty // vm
llvm_i1_ty // vm (ignored on GFX11+)
],
[ImmArg<ArgIndex<0>>, ImmArg<ArgIndex<1>>, ImmArg<ArgIndex<6>>,
ImmArg<ArgIndex<7>>, IntrWriteMem, IntrInaccessibleMemOnly,
Expand Down
6 changes: 3 additions & 3 deletions llvm/lib/Target/AMDGPU/VOP2Instructions.td
Expand Up @@ -495,9 +495,9 @@ def VOP2b_I32_I1_I32_I32_I1 : VOPProfile<[i32, i32, i32, i1], 0, /*EnableClamp=*
bank_mask:$bank_mask, bound_ctrl:$bound_ctrl);
let InsDPP16 = !con(InsDPP, (ins FI:$fi));
let InsDPP8 = (ins DstRCDPP:$old,
Src0DPP:$src0,
Src1DPP:$src1,
dpp8:$dpp8, FI:$fi);
Src0DPP:$src0,
Src1DPP:$src1,
dpp8:$dpp8, FI:$fi);

let HasExt = 1;
let HasExtDPP = 1;
Expand Down
2 changes: 0 additions & 2 deletions llvm/lib/Target/AMDGPU/VOPCInstructions.td
Expand Up @@ -1108,7 +1108,6 @@ class VOPC64_DPP_Base<bits<10> op, string OpName, VOPProfile P>
// Inst{87-84} ignored by hw
let Inst{91-88} = bank_mask;
let Inst{95-92} = row_mask;

}

class VOPC64_DPP16<bits<10> op, VOP_DPP_Pseudo ps, string opName = ps.OpName>
Expand Down Expand Up @@ -1148,7 +1147,6 @@ class VOPC64_DPP8_Base<bits<10> op, string OpName, VOPProfile P>
let Inst{40-32} = fi;
let Inst{71-64} = !if(P.HasSrc0, src0{7-0}, 0);
let Inst{95-72} = dpp8{23-0};

}

class VOPC64_DPP8<bits<10> op, VOP_Pseudo ps, string opName = ps.OpName>
Expand Down
2 changes: 1 addition & 1 deletion llvm/lib/Target/AMDGPU/VOPInstructions.td
Expand Up @@ -1416,7 +1416,7 @@ multiclass VOP3_Realtriple_with_name_gfx11<bits<10> op, string opName,
VOP3_Real_dpp8_with_name_gfx11<op, opName, asmName>;

multiclass VOP3Only_Realtriple_with_name_gfx11<bits<10> op, string opName,
string asmName> :
string asmName> :
VOP3_Realtriple_with_name_gfx11<op, opName, asmName, 1>;

multiclass VOP3be_Realtriple_gfx11<
Expand Down

0 comments on commit 4dbc287

Please sign in to comment.