[llvm] r299762 - [SystemZ] Remove confusing comment in combineEXTRACT_VECTOR_ELT()

Jonas Paulsson via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 7 05:11:44 PDT 2017


Author: jonpa
Date: Fri Apr  7 07:11:41 2017
New Revision: 299762

URL: http://llvm.org/viewvc/llvm-project?rev=299762&view=rev
Log:
[SystemZ]  Remove confusing comment in combineEXTRACT_VECTOR_ELT()

It isn't just one-element vectors that can appear here.

Modified:
    llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp

Modified: llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp?rev=299762&r1=299761&r2=299762&view=diff
==============================================================================
--- llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp Fri Apr  7 07:11:41 2017
@@ -5001,8 +5001,6 @@ SDValue SystemZTargetLowering::combineST
 SDValue SystemZTargetLowering::combineEXTRACT_VECTOR_ELT(
     SDNode *N, DAGCombinerInfo &DCI) const {
 
-  // <1 x ..> vectors may be present in the function even without vector
-  // support, which will be handled during legalization.
   if (!Subtarget.hasVector())
     return SDValue();
 




More information about the llvm-commits mailing list