Print subreg information in MachineInstr::dump.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61213 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2008-12-18 21:51:27 +00:00
parent af9b952627
commit 2ccc839669

View File

@ -187,7 +187,11 @@ void MachineOperand::print(raw_ostream &OS, const TargetMachine *TM) const {
else
OS << "%mreg" << getReg();
}
if (getSubReg() != 0) {
OS << ":" << getSubReg();
}
if (isDef() || isKill() || isDead() || isImplicit() || isEarlyClobber()) {
OS << "<";
bool NeedComma = false;