From 1c24605a575b9cc37fbabce03ed430a1d24ee287 Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Fri, 22 Oct 2010 23:09:15 +0000 Subject: This is a prototype of an experimental register allocation framework. It's purpose is not to improve register allocation per se, but to make it easier to develop powerful live range splitting. I call it the basic allocator because it is as simple as a global allocator can be but provides the building blocks for sophisticated register allocation with live range splitting. A minimal implementation is provided that trivially spills whenever it runs out of registers. I'm checking in now to get high-level design and style feedback. I've only done minimal testing. The next step is implementing a "greedy" allocation algorithm that does some register reassignment and makes better splitting decisions. llvm-svn: 117174 --- llvm/lib/CodeGen/SplitKit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/SplitKit.h') diff --git a/llvm/lib/CodeGen/SplitKit.h b/llvm/lib/CodeGen/SplitKit.h index 80fc23642a8..d9f16dc9155 100644 --- a/llvm/lib/CodeGen/SplitKit.h +++ b/llvm/lib/CodeGen/SplitKit.h @@ -1,4 +1,4 @@ -//===---------- SplitKit.cpp - Toolkit for splitting live ranges ----------===// +//===-------- SplitKit.cpp - Toolkit for splitting live ranges --*- C++ -*-===// // // The LLVM Compiler Infrastructure // -- cgit v1.2.3