From e7b8db2e633f71da868fac22da5c050dcb922788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20=C3=81vila=20de=20Esp=C3=ADndola?= Date: Wed, 13 Apr 2011 13:53:19 -0400 Subject: Enable alias analysis and the function attributes pass. The C API extension is already upstream, we can drop the local copy once the bots are updated. --- src/comp/lib/llvm.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/comp/lib') diff --git a/src/comp/lib/llvm.rs b/src/comp/lib/llvm.rs index 430e8cdb..67703205 100644 --- a/src/comp/lib/llvm.rs +++ b/src/comp/lib/llvm.rs @@ -775,6 +775,8 @@ native mod llvm = llvm_lib { fn LLVMAddSimplifyLibCallsPass(PassManagerRef PM); fn LLVMAddLoopIdiomPass(PassManagerRef PM); fn LLVMAddEarlyCSEPass(PassManagerRef PM); + fn LLVMAddTypeBasedAliasAnalysisPass(PassManagerRef PM); + fn LLVMAddBasicAliasAnalysisPass(PassManagerRef PM); /** Destroys a memory buffer. */ fn LLVMDisposeMemoryBuffer(MemoryBufferRef MemBuf); -- cgit v1.2.3