summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MIRPrinter.cpp
diff options
context:
space:
mode:
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>2018-01-16 10:53:11 +0000
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>2018-01-16 10:53:11 +0000
commitecd0b83312bbed70380a0337a480b1cf698a0f6b (patch)
treeaf4df4289d8482bbab5283fa22573961d0ad7a29 /llvm/lib/CodeGen/MIRPrinter.cpp
parent45ef5036c929b73e180d0c959c05b1a6bda07162 (diff)
downloadbcm5719-llvm-ecd0b83312bbed70380a0337a480b1cf698a0f6b.tar.gz
bcm5719-llvm-ecd0b83312bbed70380a0337a480b1cf698a0f6b.zip
[CodeGen][NFC] Correct case for printSubRegIdx
llvm-svn: 322541
Diffstat (limited to 'llvm/lib/CodeGen/MIRPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/MIRPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MIRPrinter.cpp b/llvm/lib/CodeGen/MIRPrinter.cpp
index 90515a6a9a2..5e7a2585b4e 100644
--- a/llvm/lib/CodeGen/MIRPrinter.cpp
+++ b/llvm/lib/CodeGen/MIRPrinter.cpp
@@ -744,7 +744,7 @@ void MIPrinter::print(const MachineInstr &MI, unsigned OpIdx,
case MachineOperand::MO_Immediate:
if (MI.isOperandSubregIdx(OpIdx)) {
MachineOperand::printTargetFlags(OS, Op);
- MachineOperand::printSubregIdx(OS, Op.getImm(), TRI);
+ MachineOperand::printSubRegIdx(OS, Op.getImm(), TRI);
break;
}
LLVM_FALLTHROUGH;
OpenPOWER on IntegriCloud