From e4718a30d1b9253035555392753185855692bdca Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sat, 16 Aug 2008 16:57:16 +0200 Subject: MLKLLVMCompiler: Enable more optimisation passes. --- MLKLLVMCompiler.mm | 14 +++++++------- 1 file 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()); -- cgit v1.2.3