[llvm-commits] CVS: reopt/lib/LightWtProfiling/TraceToFunction.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Fri May 14 12:59:03 PDT 2004


Changes in directory reopt/lib/LightWtProfiling:

TraceToFunction.cpp updated: 1.30 -> 1.31

---
Log message:

Update head-of-file comment

---
Diffs of the changes:  (+3 -7)

Index: reopt/lib/LightWtProfiling/TraceToFunction.cpp
diff -u reopt/lib/LightWtProfiling/TraceToFunction.cpp:1.30 reopt/lib/LightWtProfiling/TraceToFunction.cpp:1.31
--- reopt/lib/LightWtProfiling/TraceToFunction.cpp:1.30	Mon May 10 19:19:59 2004
+++ reopt/lib/LightWtProfiling/TraceToFunction.cpp	Fri May 14 12:58:20 2004
@@ -13,17 +13,13 @@
 // TODO (also search for FIXME in this file):
 // 1) Only let things go into the LiveIn/Out sets for which we have register
 //    allocation information available. Otherwise abort.
-// 2) For each basic block that exits the trace, we need to keep track
-//    of the address that the "ret" instruction would have returned to.
-//    Use the mapping information (probably BB TO MI MAP) to translate
-//    the BasicBlocks in ReturnBlockForTraceExit to a uint64_t
-//    address. (Figure out how Anand's code does this.)
-// 3) Check these:
+// 2) Check these:
 //    a) Used before defined --> live-in and live-out
 //    b) Live in and not defined by trace --> not live out
 //
 // Potential optimizations:
-// Get rid of BranchNumber
+// Make it possible to turn off BranchNumber...it is only useful (now) when a
+// human is reading the code.
 //
 //===----------------------------------------------------------------------===//
 





More information about the llvm-commits mailing list