Skip to content

Commit c48ae1c

Browse files
SC llvm teamSC llvm team
authored andcommitted
Merged main:3d40411ee889 into amd-gfx:e3dbac853df2
Local branch amd-gfx e3dbac8 Merged main:a63dc79d1139 into amd-gfx:84e8a3f8c2b5 Remote branch main 3d40411 [AMDGPU] Set size to all SOP pseudos (llvm#69756)
2 parents e3dbac8 + 3d40411 commit c48ae1c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

llvm/include/llvm/Config/llvm-config.h.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
/* Indicate that this is LLVM compiled from the amd-gfx branch. */
1818
#define LLVM_HAVE_BRANCH_AMD_GFX
19-
#define LLVM_MAIN_REVISION 478278
19+
#define LLVM_MAIN_REVISION 478279
2020

2121
/* Define if LLVM_ENABLE_DUMP is enabled */
2222
#cmakedefine LLVM_ENABLE_DUMP

llvm/lib/Target/AMDGPU/SOPInstructions.td

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class SOP_Pseudo<string opName, dag outs, dag ins, string asmOps,
1515

1616
let isPseudo = 1;
1717
let isCodeGenOnly = 1;
18+
let Size = 4;
1819

1920
string Mnemonic = opName;
2021
string AsmOperands = asmOps;
@@ -36,7 +37,6 @@ class SOP1_Pseudo <string opName, dag outs, dag ins,
3637
let SALU = 1;
3738
let SOP1 = 1;
3839
let SchedRW = [WriteSALU];
39-
let Size = 4;
4040
let UseNamedOperandTable = 1;
4141

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

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

0 commit comments

Comments
 (0)