summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>2018-01-16 10:53:14 +0000
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>2018-01-16 10:53:14 +0000
commit5eaddb3f6825a472bc4ef59a3a6aa1b6f9ff3b16 (patch)
tree3da6426015c1abfbcf58a2a5cda9391ca47be6fe /llvm/lib/CodeGen/MachineInstr.cpp
parentecd0b83312bbed70380a0337a480b1cf698a0f6b (diff)
downloadbcm5719-llvm-5eaddb3f6825a472bc4ef59a3a6aa1b6f9ff3b16.tar.gz
bcm5719-llvm-5eaddb3f6825a472bc4ef59a3a6aa1b6f9ff3b16.zip
[CodeGen] Remove special case of printing subRegIdx from MachineInstr::print
Support in MachineOperand has been added in r320209. No need to special case this anymore. llvm-svn: 322542
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineInstr.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp
index 47974a253ba..ed1238c121b 100644
--- a/llvm/lib/CodeGen/MachineInstr.cpp
+++ b/llvm/lib/CodeGen/MachineInstr.cpp
@@ -1332,9 +1332,6 @@ void MachineInstr::print(raw_ostream &OS, ModuleSlotTracker &MST,
MO.print(OS, MST, TypeToPrint, /*PrintDef=*/true,
ShouldPrintRegisterTies, TiedOperandIdx, TRI, IntrinsicInfo);
}
- } else if (TRI && (isInsertSubreg() || isRegSequence() ||
- (isSubregToReg() && i == 3)) && MO.isImm()) {
- OS << TRI->getSubRegIndexName(MO.getImm());
} else if (i == AsmDescOp && MO.isImm()) {
// Pretty print the inline asm operand descriptor.
OS << '$' << AsmOpCount++;
OpenPOWER on IntegriCloud