summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-08-16 16:57:16 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-08-16 16:58:18 +0200
commite4718a30d1b9253035555392753185855692bdca (patch)
tree0cab24921af044ba69e6ecb4241c90b184971afa
parentefafbf36521acb710e92258af13191893e1d75c8 (diff)
MLKLLVMCompiler: Enable more optimisation passes.
-rw-r--r--MLKLLVMCompiler.mm14
1 files changed, 7 insertions, 7 deletions
diff --git a/MLKLLVMCompiler.mm b/MLKLLVMCompiler.mm
index 11001dc..969d12c 100644
--- a/MLKLLVMCompiler.mm
+++ b/MLKLLVMCompiler.mm
@@ -85,13 +85,13 @@ static Constant
fpm->add (createReassociatePass());
fpm->add (createGVNPass());
// fpm->add (createVerifierPass());
- // fpm->add (createLowerSetJmpPass());
- // fpm->add (createRaiseAllocationsPass());
- // fpm->add (createCFGSimplificationPass());
- // fpm->add (createPromoteMemoryToRegisterPass());
- // fpm->add (createGlobalOptimizerPass());
- // fpm->add (createGlobalDCEPass());
- // fpm->add (createFunctionInliningPass());
+ //fpm->add (createLowerSetJmpPass());
+ //fpm->add (createRaiseAllocationsPass());
+ fpm->add (createCFGSimplificationPass());
+ fpm->add (createPromoteMemoryToRegisterPass());
+ //fpm->add (createGlobalOptimizerPass());
+ //fpm->add (createGlobalDCEPass());
+ //fpm->add (createFunctionInliningPass());
// Utilities.
// fpm->add (createUnifyFunctionExitNodesPass());