fix typo; NFC
[oota-llvm.git] / lib / Target / X86 / X86InstrInfo.cpp
index f6fb5bf02615469b8cb3e7b7f468ba9f238d6437..c2ff9109b3a3098d12bd9edf21d79bc1c52d7a1e 100644 (file)
@@ -2456,7 +2456,7 @@ inline static unsigned getTruncatedShiftCount(MachineInstr *MI,
 inline static bool isTruncatedShiftCountForLEA(unsigned ShAmt) {
   // Left shift instructions can be transformed into load-effective-address
   // instructions if we can encode them appropriately.
-  // A LEA instruction utilizes a SIB byte to encode it's scale factor.
+  // A LEA instruction utilizes a SIB byte to encode its scale factor.
   // The SIB.scale field is two bits wide which means that we can encode any
   // shift amount less than 4.
   return ShAmt < 4 && ShAmt > 0;