summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-01-26 18:44:32 +0000
committerSanjay Patel <spatel@rotateright.com>2018-01-26 18:44:32 +0000
commitb8ae262bd355b64ce3df6451efafc8cfa88776a4 (patch)
tree4a12cd9f8340709659bc777dac0a90ca94f7048d /llvm/lib
parentb6616ae662d7f52de4afbf46fbd6320aacbace5c (diff)
downloadbcm5719-llvm-b8ae262bd355b64ce3df6451efafc8cfa88776a4.tar.gz
bcm5719-llvm-b8ae262bd355b64ce3df6451efafc8cfa88776a4.zip
[x86] fix typo in comment; NFC
llvm-svn: 323545
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 7b857bc0880..8f01210d666 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -38877,7 +38877,7 @@ int X86TargetLowering::getScalingFactorCost(const DataLayout &DL,
// will take 2 allocations in the out of order engine instead of 1
// for plain addressing mode, i.e. inst (reg1).
// E.g.,
- // vaddps (%rsi,%drx), %ymm0, %ymm1
+ // vaddps (%rsi,%rdx), %ymm0, %ymm1
// Requires two allocations (one for the load, one for the computation)
// whereas:
// vaddps (%rsi), %ymm0, %ymm1
OpenPOWER on IntegriCloud