From b8ae262bd355b64ce3df6451efafc8cfa88776a4 Mon Sep 17 00:00:00 2001 From: Sanjay Patel Date: Fri, 26 Jan 2018 18:44:32 +0000 Subject: [PATCH] [x86] fix typo in comment; NFC llvm-svn: 323545 --- llvm/lib/Target/X86/X86ISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index 7b857bc0880b..8f01210d666f 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