Default to using the CBE instead of the Interpreter if no -run-* option is specified
authorChris Lattner <sabre@nondot.org>
Sat, 18 Oct 2003 20:18:20 +0000 (20:18 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 18 Oct 2003 20:18:20 +0000 (20:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9237 91177308-0d34-0410-b5e6-96231b3b80d8

tools/bugpoint/ExecutionDriver.cpp

index e0e0b70c572ca03fc888d4a558dcede1e1f05ea1..a6f106a5d3a8aa08c757e46310139859993acc82 100644 (file)
@@ -37,7 +37,8 @@ namespace {
                             clEnumValN(RunJIT, "run-jit", "Execute with JIT"),
                             clEnumValN(RunLLC, "run-llc", "Compile with LLC"),
                             clEnumValN(RunCBE, "run-cbe", "Compile with CBE"),
-                            0));
+                            0),
+                 cl::init(RunCBE));
 
   cl::opt<std::string>
   InputFile("input", cl::init("/dev/null"),