[PATCH] D88708: [AMDGPU] Allow SOP asm mnemonic to differ
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 1 16:00:25 PDT 2020
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGcaeb13aba853: [AMDGPU] Allow SOP asm mnemonic to differ (authored by rampitec).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88708/new/
https://reviews.llvm.org/D88708
Files:
llvm/lib/Target/AMDGPU/SOPInstructions.td
Index: llvm/lib/Target/AMDGPU/SOPInstructions.td
===================================================================
--- llvm/lib/Target/AMDGPU/SOPInstructions.td
+++ llvm/lib/Target/AMDGPU/SOPInstructions.td
@@ -54,9 +54,9 @@
bits<1> has_sdst = 1;
}
-class SOP1_Real<bits<8> op, SOP1_Pseudo ps> :
+class SOP1_Real<bits<8> op, SOP1_Pseudo ps, string real_name = ps.Mnemonic> :
InstSI <ps.OutOperandList, ps.InOperandList,
- ps.Mnemonic # " " # ps.AsmOperands, []>,
+ real_name # " " # ps.AsmOperands, []>,
Enc32 {
let isPseudo = 0;
@@ -1621,7 +1621,7 @@
defm S_SETREG_IMM32_B32 : SOPK_Real64_gfx6_gfx7_gfx10<0x015>;
//===----------------------------------------------------------------------===//
-// GFX8, GFX9 (VI).
+// GFX8 (VI), GFX9.
//===----------------------------------------------------------------------===//
class Select_vi<string opName> :
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88708.295685.patch
Type: text/x-patch
Size: 896 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201001/0043d48a/attachment.bin>
More information about the llvm-commits
mailing list