diff options
author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-16 16:57:16 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-16 16:58:18 +0200 |
commit | e4718a30d1b9253035555392753185855692bdca (patch) | |
tree | 0cab24921af044ba69e6ecb4241c90b184971afa | |
parent | efafbf36521acb710e92258af13191893e1d75c8 (diff) |
MLKLLVMCompiler: Enable more optimisation passes.
-rw-r--r-- | MLKLLVMCompiler.mm | 14 |
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()); |