mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 21:34:23 +00:00
Print symbolic subreg indices on REG_SEQUENCE and INSERT_SUBREG.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107602 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f172ecd964
commit
b1e11455d1
@ -1305,6 +1305,8 @@ void MachineInstr::print(raw_ostream &OS, const TargetMachine *TM) const {
|
||||
OS << "!\"" << MDS->getString() << '\"';
|
||||
else
|
||||
MO.print(OS, TM);
|
||||
} else if (TM && (isInsertSubreg() || isRegSequence()) && MO.isImm()) {
|
||||
OS << TM->getRegisterInfo()->getSubRegIndexName(MO.getImm());
|
||||
} else
|
||||
MO.print(OS, TM);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user