[llvm-commits] CVS: llvm/lib/CodeGen/RegAllocIterativeScan.cpp

Alkis Evlogimenos alkis at cs.uiuc.edu
Wed Jul 21 01:28:49 PDT 2004



Changes in directory llvm/lib/CodeGen:

RegAllocIterativeScan.cpp updated: 1.1 -> 1.2

---
Log message:

Improve file comment.


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

Index: llvm/lib/CodeGen/RegAllocIterativeScan.cpp
diff -u llvm/lib/CodeGen/RegAllocIterativeScan.cpp:1.1 llvm/lib/CodeGen/RegAllocIterativeScan.cpp:1.2
--- llvm/lib/CodeGen/RegAllocIterativeScan.cpp:1.1	Wed Jul 21 03:24:34 2004
+++ llvm/lib/CodeGen/RegAllocIterativeScan.cpp	Wed Jul 21 03:28:39 2004
@@ -7,7 +7,13 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// This file implements a linear scan register allocator.
+// This file implements an iterative scan register
+// allocator. Iterative scan is a linear scan variant with the
+// following difference:
+//
+// It performs linear scan and keeps a list of the registers it cannot
+// allocate. It then spills all those registers and repeats the
+// process until allocation succeeds.
 //
 //===----------------------------------------------------------------------===//
 





More information about the llvm-commits mailing list