diff options
author | Hal Finkel <hfinkel@anl.gov> | 2013-03-10 20:57:42 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2013-03-10 20:57:42 +0000 |
commit | 76a05c93b13a8debec4497a6e4e753d7531709e5 (patch) | |
tree | 5b94727db8964f633dd791b089848fbc02dd1387 | |
parent | 760fa5dc8022dcf6982969c26ef566dfbeea979c (diff) | |
download | external_llvm-76a05c93b13a8debec4497a6e4e753d7531709e5.zip external_llvm-76a05c93b13a8debec4497a6e4e753d7531709e5.tar.gz external_llvm-76a05c93b13a8debec4497a6e4e753d7531709e5.tar.bz2 |
BBVectorize: Fixup debugging statements
After the recent data-structure improvements, a couple of debugging statements
were broken (printing pointer values).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176791 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Vectorize/BBVectorize.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Vectorize/BBVectorize.cpp b/lib/Transforms/Vectorize/BBVectorize.cpp index 7636541..17900da 100644 --- a/lib/Transforms/Vectorize/BBVectorize.cpp +++ b/lib/Transforms/Vectorize/BBVectorize.cpp @@ -1771,7 +1771,7 @@ namespace { size_t MaxDepth = DAG.lookup(IJ); DEBUG(if (DebugPairSelection) dbgs() << "BBV: found DAG for pair {" - << IJ.first << " <-> " << IJ.second << "} of depth " << + << *IJ.first << " <-> " << *IJ.second << "} of depth " << MaxDepth << " and size " << DAG.size() << "\n"); // At this point the DAG has been constructed, but, may contain @@ -2086,7 +2086,7 @@ namespace { DEBUG(if (DebugPairSelection) dbgs() << "BBV: found pruned DAG for pair {" - << IJ.first << " <-> " << IJ.second << "} of depth " << + << *IJ.first << " <-> " << *IJ.second << "} of depth " << MaxDepth << " and size " << PrunedDAG.size() << " (effective size: " << EffSize << ")\n"); if (((TTI && !UseChainDepthWithTI) || |