diff options
| author | Rafael Ávila de Espíndola <[email protected]> | 2011-04-12 15:33:39 -0400 |
|---|---|---|
| committer | Rafael Ávila de Espíndola <[email protected]> | 2011-04-12 15:33:39 -0400 |
| commit | dd6fc607a46848b0960fc8095506cb8ffe3dd53d (patch) | |
| tree | 3d7045d862a3c585152fcadf907f12037a8ba1d2 /src/comp/lib | |
| parent | Factor out creation of calls into ExtFmt.RT (diff) | |
| download | rust-dd6fc607a46848b0960fc8095506cb8ffe3dd53d.tar.xz rust-dd6fc607a46848b0960fc8095506cb8ffe3dd53d.zip | |
Enable more optimizations.
Diffstat (limited to 'src/comp/lib')
| -rw-r--r-- | src/comp/lib/llvm.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/comp/lib/llvm.rs b/src/comp/lib/llvm.rs index 04705924..430e8cdb 100644 --- a/src/comp/lib/llvm.rs +++ b/src/comp/lib/llvm.rs @@ -749,7 +749,7 @@ native mod llvm = llvm_lib { fn LLVMAddFunctionInliningPass(PassManagerRef PM); fn LLVMAddFunctionAttrsPass(PassManagerRef PM); fn LLVMAddScalarReplAggregatesPass(PassManagerRef PM); - // fn LLVMAddScalarReplAggregatesPassSSA(PassManagerRef PM); + fn LLVMAddScalarReplAggregatesPassSSA(PassManagerRef PM); fn LLVMAddJumpThreadingPass(PassManagerRef PM); fn LLVMAddConstantPropagationPass(PassManagerRef PM); fn LLVMAddReassociatePass(PassManagerRef PM); @@ -770,10 +770,11 @@ native mod llvm = llvm_lib { fn LLVMAddIndVarSimplifyPass(PassManagerRef PM); fn LLVMAddAggressiveDCEPass(PassManagerRef PM); fn LLVMAddGlobalDCEPass(PassManagerRef PM); - // fn LLVMAddCorrelatedValuePropagationPass(PassManagerRef PM); + fn LLVMAddCorrelatedValuePropagationPass(PassManagerRef PM); fn LLVMAddPruneEHPass(PassManagerRef PM); fn LLVMAddSimplifyLibCallsPass(PassManagerRef PM); - // fn LLVMAddLoopIdiomPass(PassManagerRef PM); + fn LLVMAddLoopIdiomPass(PassManagerRef PM); + fn LLVMAddEarlyCSEPass(PassManagerRef PM); /** Destroys a memory buffer. */ fn LLVMDisposeMemoryBuffer(MemoryBufferRef MemBuf); |