[llvm] r244753 - fix typo; NFC

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 12 08:09:10 PDT 2015


Author: spatel
Date: Wed Aug 12 10:09:09 2015
New Revision: 244753

URL: http://llvm.org/viewvc/llvm-project?rev=244753&view=rev
Log:
fix typo; NFC

Modified:
    llvm/trunk/lib/Target/X86/X86InstrInfo.cpp

Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.cpp?rev=244753&r1=244752&r2=244753&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.cpp Wed Aug 12 10:09:09 2015
@@ -2456,7 +2456,7 @@ inline static unsigned getTruncatedShift
 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;




More information about the llvm-commits mailing list