summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAlloc
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-09-24 18:16:23 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-09-24 18:16:23 +0000
commit974bc6682e0dc2669dc72d7f38bb79d6d08adca8 (patch)
tree56d27dbd59d510e990e0eab05a976e7b04f4c63c /llvm/lib/CodeGen/RegAlloc
parent1542a8b8206709aa0389916309c370579cfdf30c (diff)
downloadbcm5719-llvm-974bc6682e0dc2669dc72d7f38bb79d6d08adca8.tar.gz
bcm5719-llvm-974bc6682e0dc2669dc72d7f38bb79d6d08adca8.zip
Update head-of-file comment.
llvm-svn: 8699
Diffstat (limited to 'llvm/lib/CodeGen/RegAlloc')
-rw-r--r--llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
index 53949a7acfe..0c55219979b 100644
--- a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
+++ b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
@@ -1,6 +1,15 @@
//===-- PhyRegAlloc.cpp ---------------------------------------------------===//
//
-// Register allocation for LLVM.
+// Traditional graph-coloring global register allocator currently used
+// by the SPARC back-end.
+//
+// NOTE: This register allocator has some special support
+// for the Reoptimizer, such as not saving some registers on calls to
+// the first-level instrumentation function.
+//
+// NOTE 2: This register allocator can save its state in a global
+// variable in the module it's working on. This feature is not
+// thread-safe; if you have doubts, leave it turned off.
//
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud