summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86InstrInfo.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2015-08-12 15:09:09 +0000
committerSanjay Patel <spatel@rotateright.com>2015-08-12 15:09:09 +0000
commitdc87d1440c58ba14f5c6426abaeb9313802f5e5f (patch)
treede7d6aed49325d715c0959e04d2c18d1fa7d2e3f /llvm/lib/Target/X86/X86InstrInfo.cpp
parent75fc09ddbad9e302b1b12fae894dde8de0809f53 (diff)
downloadbcm5719-llvm-dc87d1440c58ba14f5c6426abaeb9313802f5e5f.tar.gz
bcm5719-llvm-dc87d1440c58ba14f5c6426abaeb9313802f5e5f.zip
fix typo; NFC
llvm-svn: 244753
Diffstat (limited to 'llvm/lib/Target/X86/X86InstrInfo.cpp')
-rw-r--r--llvm/lib/Target/X86/X86InstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.cpp b/llvm/lib/Target/X86/X86InstrInfo.cpp
index f6fb5bf0261..c2ff9109b3a 100644
--- a/llvm/lib/Target/X86/X86InstrInfo.cpp
+++ b/llvm/lib/Target/X86/X86InstrInfo.cpp
@@ -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;
OpenPOWER on IntegriCloud