Skip to content

Commit 12c7371

Browse files
authored
AMDGPU: Use PseudoInstr instead of Pseudo Mnemonic for SIMCInstr, NFC (#87420)
Pseudo Mnemonic could be of other uses.
1 parent 633bc3b commit 12c7371

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/AMDGPU/DSInstructions.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,7 +1192,7 @@ def : GCNPat <
11921192
class Base_DS_Real_gfx6_gfx7_gfx10_gfx11_gfx12<bits<8> op, DS_Pseudo ps, int ef,
11931193
string opName = ps.Mnemonic,
11941194
bit hasGDS = true>
1195-
: DS_Real<ps, opName>, SIMCInstr <ps.Mnemonic, ef> {
1195+
: DS_Real<ps, opName>, SIMCInstr <ps.PseudoInstr, ef> {
11961196

11971197
let Inst{7-0} = !if(ps.has_offset0, offset0, 0);
11981198
let Inst{15-8} = !if(ps.has_offset1, offset1, 0);
@@ -1557,7 +1557,7 @@ defm DS_MAX_SRC2_F64 : DS_Real_gfx6_gfx7_gfx10<0x0d3>;
15571557

15581558
class DS_Real_vi <bits<8> op, DS_Pseudo ps> :
15591559
DS_Real <ps>,
1560-
SIMCInstr <ps.Mnemonic, SIEncodingFamily.VI> {
1560+
SIMCInstr <ps.PseudoInstr, SIEncodingFamily.VI> {
15611561
let AssemblerPredicate = isGFX8GFX9;
15621562
let DecoderNamespace = "GFX8";
15631563

0 commit comments

Comments
 (0)