[llvm] r323545 - [x86] fix typo in comment; NFC

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 26 10:44:32 PST 2018


Author: spatel
Date: Fri Jan 26 10:44:32 2018
New Revision: 323545

URL: http://llvm.org/viewvc/llvm-project?rev=323545&view=rev
Log:
[x86] fix typo in comment; NFC

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

Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=323545&r1=323544&r2=323545&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Fri Jan 26 10:44:32 2018
@@ -38877,7 +38877,7 @@ int X86TargetLowering::getScalingFactorC
   // 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




More information about the llvm-commits mailing list