Fix typo in comment. NFC

llvm-svn: 347544
This commit is contained in:
Diana Picus 2018-11-26 11:06:53 +00:00
parent a44c0f27c2
commit 30887bf6c3
1 changed files with 1 additions and 1 deletions

View 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);