[llvm] r310785 - [X86] Fix bad comment. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 12 15:33:57 PDT 2017
Author: ctopper
Date: Sat Aug 12 15:33:57 2017
New Revision: 310785
URL: http://llvm.org/viewvc/llvm-project?rev=310785&view=rev
Log:
[X86] Fix bad 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=310785&r1=310784&r2=310785&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Sat Aug 12 15:33:57 2017
@@ -35514,7 +35514,7 @@ static SDValue combineInsertSubvector(SD
MVT SubVecVT = SubVec.getSimpleValueType();
// If this is an insert of an extract, combine to a shuffle. Don't do this
- // if the insert or extract can be represented with a subvector operation.
+ // if the insert or extract can be represented with a subregister operation.
if (SubVec.getOpcode() == ISD::EXTRACT_SUBVECTOR &&
SubVec.getOperand(0).getSimpleValueType() == OpVT &&
(IdxVal != 0 || !Vec.isUndef())) {
More information about the llvm-commits
mailing list