OSDN Git Service

Fix typo in comment. NFC
authorDiana Picus <diana.picus@linaro.org>
Mon, 26 Nov 2018 11:06:53 +0000 (11:06 +0000)
committerDiana Picus <diana.picus@linaro.org>
Mon, 26 Nov 2018 11:06:53 +0000 (11:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@347544 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/GlobalISel/LegalizerHelper.cpp

index 516f5ce..37069ce 100644 (file)
@@ -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);