fix typo; NFC
authorSanjay Patel <spatel@rotateright.com>
Wed, 12 Aug 2015 15:09:09 +0000 (15:09 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 12 Aug 2015 15:09:09 +0000 (15:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244753 91177308-0d34-0410-b5e6-96231b3b80d8

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;