We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cf9247 commit 2a04493Copy full SHA for 2a04493
1 file changed
CSharpLLVM/Compilation/Compiler.cs
@@ -96,8 +96,7 @@ public void Compile(string moduleName)
96
mFunctionPassManager = LLVM.CreateFunctionPassManagerForModule(mModule);
97
mPassManager = LLVM.CreatePassManager();
98
LLVM.InitializeFunctionPassManager(mFunctionPassManager);
99
- LLVM.AddPromoteMemoryToRegisterPass(mFunctionPassManager);
100
- LLVM.AddConstantPropagationPass(mFunctionPassManager);
+
101
#if !DEBUG
102
103
// O0
0 commit comments