aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocIterativeScan.cpp
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-07-21 08:28:39 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-07-21 08:28:39 +0000
commit3b1af0b3fc492dee8d1cd993e6d22142fe2ee7d3 (patch)
treebbd50e6e7d1a88f3ff3b14a5d2c32f7f712922ef /lib/CodeGen/RegAllocIterativeScan.cpp
parent910d0d6066f55fba7c67f2b42dd7eb4f971ca49a (diff)
Improve file comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15069 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocIterativeScan.cpp')
-rw-r--r--lib/CodeGen/RegAllocIterativeScan.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocIterativeScan.cpp b/lib/CodeGen/RegAllocIterativeScan.cpp
index 159a005671..b92fc74745 100644
--- a/lib/CodeGen/RegAllocIterativeScan.cpp
+++ b/lib/CodeGen/RegAllocIterativeScan.cpp
@@ -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.
//
//===----------------------------------------------------------------------===//