From f3b162d5133ee090293157202cc80178bc33294f Mon Sep 17 00:00:00 2001 From: Matthew Simpson Date: Fri, 29 Jan 2016 17:21:38 +0000 Subject: [PATCH] [SLP] Fix printing of debug statement (NFC) llvm-svn: 259212 --- lib/Transforms/Vectorize/SLPVectorizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Vectorize/SLPVectorizer.cpp b/lib/Transforms/Vectorize/SLPVectorizer.cpp index 295cd52f1e6..9700ac93085 100644 --- a/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -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; }