summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2018-11-26 11:06:53 +0000
committerDiana Picus <diana.picus@linaro.org>2018-11-26 11:06:53 +0000
commit30887bf6c316a75854669c0c520dceb3edfd6eae (patch)
tree52fc75e6f80a0bd1fb6de31f3b8eb7782e1e3209
parenta44c0f27c2980ade99e10c5db73dd2d4ae419c0b (diff)
downloadbcm5719-llvm-30887bf6c316a75854669c0c520dceb3edfd6eae.tar.gz
bcm5719-llvm-30887bf6c316a75854669c0c520dceb3edfd6eae.zip
Fix typo in comment. NFC
llvm-svn: 347544
-rw-r--r--llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp b/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
index 516f5ce4343..37069ce3cea 100644
--- a/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+++ b/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
@@ -675,7 +675,7 @@ LegalizerHelper::widenScalar(MachineInstr &MI, unsigned TypeIdx, LLT WideTy) {
MIRBuilder.buildConstant(WideTy, SizeDiff));
}
auto &TII = *MI.getMF()->getSubtarget().getInstrInfo();
- // Make the original instruction a trunc now, and update it's source.
+ // Make the original instruction a trunc now, and update its source.
MI.setDesc(TII.get(TargetOpcode::G_TRUNC));
MI.getOperand(1).setReg(MIBNewOp->getOperand(0).getReg());
MIRBuilder.recordInsertion(&MI);
OpenPOWER on IntegriCloud