Skip to content

Commit

Permalink
[AMDGPU] Set size to all SOP pseudos (llvm#69756)
Browse files Browse the repository at this point in the history
  • Loading branch information
rampitec committed Oct 22, 2023
1 parent a63dc79 commit 3d40411
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions llvm/lib/Target/AMDGPU/SOPInstructions.td
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class SOP_Pseudo<string opName, dag outs, dag ins, string asmOps,

let isPseudo = 1;
let isCodeGenOnly = 1;
let Size = 4;

string Mnemonic = opName;
string AsmOperands = asmOps;
Expand All @@ -36,7 +37,6 @@ class SOP1_Pseudo <string opName, dag outs, dag ins,
let SALU = 1;
let SOP1 = 1;
let SchedRW = [WriteSALU];
let Size = 4;
let UseNamedOperandTable = 1;

bits<1> has_src0 = 1;
Expand Down Expand Up @@ -455,7 +455,6 @@ class SOP2_Pseudo<string opName, dag outs, dag ins,
// let sdst = xxx in {
// for multiclasses that include both real and pseudo instructions.
// field bits<7> sdst = 0;
// let Size = 4; // Do we need size here?
}

class SOP2_Real<SOP_Pseudo ps, string real_name = ps.Mnemonic> :
Expand Down

0 comments on commit 3d40411

Please sign in to comment.