Add LiveIntervalMap::dumpCache() to print out the cache used by the ssa update algorithm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123925 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SplitKit.h b/lib/CodeGen/SplitKit.h
index 3e14dcf..3616baa 100644
--- a/lib/CodeGen/SplitKit.h
+++ b/lib/CodeGen/SplitKit.h
@@ -216,6 +216,9 @@
// The cache is also used as a visiteed set by mapValue().
LiveOutMap liveOutCache_;
+ // Dump the live-out cache to dbgs().
+ void dumpCache();
+
public:
LiveIntervalMap(LiveIntervals &lis,
MachineDominatorTree &mdt,