Fix SingleSource/Regression/C/2005-05-06-LongLongSignedShift.c, we were not
[oota-llvm.git] / lib / CodeGen / Passes.cpp
index 3fd107b13335fee1718e7763310b6d6ac4916bb8..4d2f111b2ed7b599923b134a922cc9625516abf5 100644 (file)
@@ -13,7 +13,7 @@
 //===---------------------------------------------------------------------===//
 
 #include "llvm/CodeGen/Passes.h"
-#include "Support/CommandLine.h"
+#include "llvm/Support/CommandLine.h"
 #include <iostream>
 using namespace llvm;
 
@@ -21,15 +21,17 @@ namespace {
   enum RegAllocName { simple, local, linearscan, iterativescan };
 
   cl::opt<RegAllocName>
-  RegAlloc("regalloc",
-           cl::desc("Register allocator to use: (default = simple)"),
-           cl::Prefix,
-           cl::values(clEnumVal(simple,       "  simple register allocator"),
-                      clEnumVal(local,        "  local register allocator"),
-                      clEnumVal(linearscan,   "  linear scan register allocator"),
-                      clEnumVal(iterativescan,"  iterative scan register allocator"),
-                      clEnumValEnd),
-           cl::init(local));
+  RegAlloc(
+    "regalloc",
+    cl::desc("Register allocator to use: (default = linearscan)"),
+    cl::Prefix,
+    cl::values(
+       clEnumVal(simple,        "  simple register allocator"),
+       clEnumVal(local,         "  local register allocator"),
+       clEnumVal(linearscan,    "  linear scan register allocator"),
+       clEnumVal(iterativescan, "  iterative scan register allocator"),
+       clEnumValEnd),
+    cl::init(linearscan));
 }
 
 FunctionPass *llvm::createRegisterAllocator() {