[llvm] r259212 - [SLP] Fix printing of debug statement (NFC)

Matthew Simpson via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 29 09:21:39 PST 2016


Author: mssimpso
Date: Fri Jan 29 11:21:38 2016
New Revision: 259212

URL: http://llvm.org/viewvc/llvm-project?rev=259212&view=rev
Log:
[SLP] Fix printing of debug statement (NFC)

Modified:
    llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp

Modified: llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp?rev=259212&r1=259211&r2=259212&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp Fri Jan 29 11:21:38 2016
@@ -1782,7 +1782,7 @@ int BoUpSLP::getTreeCost() {
   for (TreeEntry &TE : VectorizableTree) {
     int C = getEntryCost(&TE);
     DEBUG(dbgs() << "SLP: Adding cost " << C << " for bundle that starts with "
-          << TE.Scalars[0] << " .\n");
+                 << *TE.Scalars[0] << ".\n");
     Cost += C;
   }
 




More information about the llvm-commits mailing list