From ec2e964fd631c1177b9d4401dbdad22cefdca882 Mon Sep 17 00:00:00 2001
From: Jakob Stoklund Olesen
Date: Tue, 15 Jun 2010 21:58:33 +0000
Subject: Remove the local register allocator. Please use the fast allocator
instead.
llvm-svn: 106051
---
llvm/docs/CodeGenerator.html | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
(limited to 'llvm/docs/CodeGenerator.html')
diff --git a/llvm/docs/CodeGenerator.html b/llvm/docs/CodeGenerator.html
index fbdc294e4a2..8b1db7ac3da 100644
--- a/llvm/docs/CodeGenerator.html
+++ b/llvm/docs/CodeGenerator.html
@@ -1594,22 +1594,22 @@ bool RegMapping_Fer::compatible_class(MachineFunction &mf,
different register allocators:
- - Simple — This is a very simple implementation that does not
- keep values in registers across instructions. This register allocator
- immediately spills every value right after it is computed, and reloads all
- used operands from memory to temporary registers before each
- instruction.
-
- - Local — This register allocator is an improvement on the
- Simple implementation. It allocates registers on a basic block
- level, attempting to keep values in registers and reusing registers as
- appropriate.
-
- Linear Scan — The default allocator. This is the
well-know linear scan register allocator. Whereas the
Simple and Local algorithms use a direct mapping
implementation technique, the Linear Scan implementation
uses a spiller in order to place load and stores.
+
+ - Fast — This register allocator is the default for debug
+ builds. It allocates registers on a basic block level, attempting to keep
+ values in registers and reusing registers as appropriate.
+
+ - PBQP — A Partitioned Boolean Quadratic Programming (PBQP)
+ based register allocator. This allocator works by constructing a PBQP
+ problem representing the register allocation problem under consideration,
+ solving this using a PBQP solver, and mapping the solution back to a
+ register assignment.
+
The type of register allocator used in llc can be chosen with the
@@ -1617,9 +1617,9 @@ bool RegMapping_Fer::compatible_class(MachineFunction &mf,
-$ llc -regalloc=simple file.bc -o sp.s;
-$ llc -regalloc=local file.bc -o lc.s;
$ llc -regalloc=linearscan file.bc -o ln.s;
+$ llc -regalloc=fast file.bc -o fa.s;
+$ llc -regalloc=pbqp file.bc -o pbqp.s;
--
cgit v1.2.3