[llvm-commits] [regalloc_linearscan] CVS: llvm/lib/CodeGen/Passes.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Wed Nov 12 00:40:01 PST 2003
Changes in directory llvm/lib/CodeGen:
Passes.cpp updated: 1.1.2.2 -> 1.1.2.3
---
Log message:
Mergin from trunk
---
Diffs of the changes: (+11 -2)
Index: llvm/lib/CodeGen/Passes.cpp
diff -u llvm/lib/CodeGen/Passes.cpp:1.1.2.2 llvm/lib/CodeGen/Passes.cpp:1.1.2.3
--- llvm/lib/CodeGen/Passes.cpp:1.1.2.2 Fri Oct 24 01:06:47 2003
+++ llvm/lib/CodeGen/Passes.cpp Wed Nov 12 00:39:29 2003
@@ -1,4 +1,11 @@
//===-- Passes.cpp - Target independent code generation passes -*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
//
// This file defines interfaces to access the target independent code
// generation passes provided by the LLVM backend.
@@ -8,6 +15,8 @@
#include "llvm/CodeGen/Passes.h"
#include "Support/CommandLine.h"
+namespace llvm {
+
namespace {
enum RegAllocName { simple, local, linearscan };
@@ -29,10 +38,10 @@
return createSimpleRegisterAllocator();
case local:
return createLocalRegisterAllocator();
- case linearscan:
- return createLinearScanRegisterAllocator();
default:
assert(0 && "no register allocator selected");
return 0; // not reached
}
}
+
+} // End llvm namespace
More information about the llvm-commits
mailing list