[llvm] r254136 - [TableGen] Flip reversed comments.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 25 22:30:40 PST 2015


Author: ctopper
Date: Thu Nov 26 00:30:40 2015
New Revision: 254136

URL: http://llvm.org/viewvc/llvm-project?rev=254136&view=rev
Log:
[TableGen] Flip reversed comments.

Modified:
    llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp

Modified: llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp?rev=254136&r1=254135&r2=254136&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp (original)
+++ llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp Thu Nov 26 00:30:40 2015
@@ -594,7 +594,7 @@ bool EEVT::TypeSet::EnforceVectorSameNum
     MVT IVT = getConcrete();
     unsigned NumElems = IVT.getVectorNumElements();
 
-    // Only keep types that have same elements as VTOperand.
+    // Only keep types that have same elements as 'this'.
     TypeSet InputSet(VTOperand);
 
     auto I = std::remove_if(VTOperand.TypeVec.begin(), VTOperand.TypeVec.end(),
@@ -614,7 +614,7 @@ bool EEVT::TypeSet::EnforceVectorSameNum
     MVT IVT = VTOperand.getConcrete();
     unsigned NumElems = IVT.getVectorNumElements();
 
-    // Only keep types that have same elements as 'this'.
+    // Only keep types that have same elements as VTOperand.
     TypeSet InputSet(*this);
 
     auto I = std::remove_if(TypeVec.begin(), TypeVec.end(),




More information about the llvm-commits mailing list