diff options
author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-23 18:50:47 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-23 18:50:47 +0200 |
commit | 93a399f0efd42a7c958a576b2a91f8dce2535809 (patch) | |
tree | 7e4f818d8de38c722fb39b00be3742f343bd5c45 | |
parent | ac9b572dc308315c0ecb1685cc2f439337594b11 (diff) |
LLVM compiler: Add another optimisation pass.
-rw-r--r-- | MLKLLVMCompiler.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MLKLLVMCompiler.mm b/MLKLLVMCompiler.mm index f65654f..729db50 100644 --- a/MLKLLVMCompiler.mm +++ b/MLKLLVMCompiler.mm @@ -101,6 +101,7 @@ static Constant fpm = new FunctionPassManager (module_provider); fpm->add (new TargetData (*execution_engine->getTargetData())); //fpm->add (new TargetData (module)); + fpm->add (createScalarReplAggregatesPass()); fpm->add (createInstructionCombiningPass()); fpm->add (createReassociatePass()); fpm->add (createGVNPass()); |