Skip to content

Commit f2757df

Browse files
committed
Change vOPDName to be prefix that is ignored by !substr in fake record.
Now the record has this field as before, and the fake part is included in the record: string VOPDName = "v_dual_";
1 parent a5a063a commit f2757df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/lib/Target/AMDGPU/VOP2Instructions.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ multiclass
319319
multiclass
320320
VOP2eInst<string opName, VOPProfile P, SDPatternOperator node = null_frag,
321321
string revOp = opName, bit useSGPRInput = !eq(P.NumSrcArgs, 3)>
322-
: VOP2eInst_Base<opName, P, -1, "v_cndmask_b16", node, revOp, useSGPRInput>;
322+
: VOP2eInst_Base<opName, P, -1, "v_", node, revOp, useSGPRInput>;
323323

324324
multiclass
325325
VOP2eInst_VOPD<string opName, VOPProfile P, bits<5> VOPDOp, string VOPDName,

llvm/lib/Target/AMDGPU/VOPInstructions.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1931,4 +1931,4 @@ def VOPTrue16Table : GenericTable {
19311931

19321932
let PrimaryKey = ["Opcode"];
19331933
let PrimaryKeyName = "getTrue16OpcodeHelper";
1934-
}
1934+
}

0 commit comments

Comments
 (0)