[llvm] r356552 - Remove out of date comment. NFCI.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 20 05:24:16 PDT 2019


Author: rksimon
Date: Wed Mar 20 05:24:15 2019
New Revision: 356552

URL: http://llvm.org/viewvc/llvm-project?rev=356552&view=rev
Log:
Remove out of date comment. NFCI.

DAGCombiner::convertBuildVecZextToZext just requires the extractions to be sequential, they don't have to start from 0'th index.

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp?rev=356552&r1=356551&r2=356552&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Wed Mar 20 05:24:15 2019
@@ -16826,7 +16826,6 @@ SDValue DAGCombiner::reduceBuildVecToShu
 // a vector zero extend and possibly an extract subvector.
 // TODO: Support sign extend or any extend?
 // TODO: Allow undef elements?
-// TODO: Don't require the extracts to start at element 0.
 SDValue DAGCombiner::convertBuildVecZextToZext(SDNode *N) {
   if (LegalOperations)
     return SDValue();




More information about the llvm-commits mailing list