Skip to content

Commit f9d4827

Browse files
committed
fixup! Fix a few places I missed.
1 parent 1536d9e commit f9d4827

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ class AArch64Operand : public MCParsedAsmOperand {
691691
return Reg.Reg;
692692
}
693693

694-
unsigned getMatrixReg() const {
694+
MCRegister getMatrixReg() const {
695695
assert(Kind == k_MatrixRegister && "Invalid access!");
696696
return MatrixReg.Reg;
697697
}
@@ -716,7 +716,7 @@ class AArch64Operand : public MCParsedAsmOperand {
716716
return Reg.EqualityTy;
717717
}
718718

719-
unsigned getVectorListStart() const {
719+
MCRegister getVectorListStart() const {
720720
assert(Kind == k_VectorList && "Invalid access!");
721721
return VectorList.Reg;
722722
}
@@ -2657,9 +2657,9 @@ void AArch64Operand::print(raw_ostream &OS, const MCAsmInfo &MAI) const {
26572657
break;
26582658
case k_VectorList: {
26592659
OS << "<vectorlist ";
2660-
unsigned Reg = getVectorListStart();
2660+
MCRegister Reg = getVectorListStart();
26612661
for (unsigned i = 0, e = getVectorListCount(); i != e; ++i)
2662-
OS << Reg + i * getVectorListStride() << " ";
2662+
OS << Reg.id() + i * getVectorListStride() << " ";
26632663
OS << ">";
26642664
break;
26652665
}
@@ -2696,7 +2696,7 @@ void AArch64Operand::print(raw_ostream &OS, const MCAsmInfo &MAI) const {
26962696
OS << getCMHPriorityHintName();
26972697
break;
26982698
case k_MatrixRegister:
2699-
OS << "<matrix " << getMatrixReg() << ">";
2699+
OS << "<matrix " << getMatrixReg().id() << ">";
27002700
break;
27012701
case k_MatrixTileList: {
27022702
OS << "<matrixlist ";

0 commit comments

Comments
 (0)