File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
llvm/lib/Target/AMDGPU/AsmParser Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 7
7
// ===----------------------------------------------------------------------===//
8
8
9
9
#include " AMDKernelCodeT.h"
10
+ #include " MCTargetDesc/AMDGPUInstPrinter.h"
10
11
#include " MCTargetDesc/AMDGPUMCExpr.h"
11
12
#include " MCTargetDesc/AMDGPUMCKernelDescriptor.h"
12
13
#include " MCTargetDesc/AMDGPUMCTargetDesc.h"
@@ -1133,7 +1134,8 @@ class AMDGPUOperand : public MCParsedAsmOperand {
1133
1134
void print (raw_ostream &OS) const override {
1134
1135
switch (Kind) {
1135
1136
case Register:
1136
- OS << " <register " << getReg () << " mods: " << Reg.Mods << ' >' ;
1137
+ OS << " <register " << AMDGPUInstPrinter::getRegisterName (getReg ())
1138
+ << " mods: " << Reg.Mods << ' >' ;
1137
1139
break ;
1138
1140
case Immediate:
1139
1141
OS << ' <' << getImm ();
You can’t perform that action at this time.
0 commit comments