File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -209,8 +209,8 @@ class MCInstrDesc {
209
209
unsigned short SchedClass; // enum identifying instr sched class
210
210
unsigned char NumImplicitUses; // Num of regs implicitly used
211
211
unsigned char NumImplicitDefs; // Num of regs implicitly defined
212
- unsigned short ImplicitOffset; // Offset to start of implicit op list
213
212
unsigned short OpInfoOffset; // Offset to info about operands
213
+ unsigned int ImplicitOffset; // Offset to start of implicit op list
214
214
uint64_t Flags; // Flags identifying machine instr class
215
215
uint64_t TSFlags; // Target Specific Flag values
216
216
Original file line number Diff line number Diff line change @@ -1106,12 +1106,14 @@ void InstrInfoEmitter::emitRecord(
1106
1106
OS << Inst.ImplicitUses .size () << " ,\t " << Inst.ImplicitDefs .size () << " ,\t " ;
1107
1107
std::vector<const Record *> ImplicitOps = Inst.ImplicitUses ;
1108
1108
llvm::append_range (ImplicitOps, Inst.ImplicitDefs );
1109
- OS << Target.getName () << " ImpOpBase + " << EmittedLists[ImplicitOps]
1110
- << " ,\t " ;
1111
1109
1112
1110
// Emit the operand info offset.
1113
1111
OperandInfoTy OperandInfo = GetOperandInfo (Inst);
1114
- OS << OperandInfoMap.find (OperandInfo)->second << " ,\t 0" ;
1112
+ OS << OperandInfoMap.find (OperandInfo)->second << " ,\t " ;
1113
+
1114
+ // Emit implicit operand base.
1115
+ OS << Target.getName () << " ImpOpBase + " << EmittedLists[ImplicitOps]
1116
+ << " ,\t 0" ;
1115
1117
1116
1118
// Emit all of the target independent flags...
1117
1119
if (Inst.isPreISelOpcode )
You can’t perform that action at this time.
0 commit comments