[llvm] r346073 - [X86] Update comment I forgot to change in r346043. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 3 12:49:13 PDT 2018


Author: ctopper
Date: Sat Nov  3 12:49:13 2018
New Revision: 346073

URL: http://llvm.org/viewvc/llvm-project?rev=346073&view=rev
Log:
[X86] Update comment I forgot to change in r346043. 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=346073&r1=346072&r2=346073&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Sat Nov  3 12:49:13 2018
@@ -38312,8 +38312,8 @@ static SDValue combineToExtendVectorInRe
   if (InSVT != MVT::i32 && InSVT != MVT::i16 && InSVT != MVT::i8)
     return SDValue();
 
-  // On AVX2+ targets, if the input/output types are both legal then we will be
-  // able to use SIGN_EXTEND/ZERO_EXTEND directly.
+  // If the input/output types are both legal then we have at least AVX1 and
+  // we will be able to use SIGN_EXTEND/ZERO_EXTEND directly.
   if (DAG.getTargetLoweringInfo().isTypeLegal(VT) &&
       DAG.getTargetLoweringInfo().isTypeLegal(InVT))
     return SDValue();




More information about the llvm-commits mailing list