diff options
author | Meador Inge <meadori@codesourcery.com> | 2013-06-20 19:48:07 +0000 |
---|---|---|
committer | Meador Inge <meadori@codesourcery.com> | 2013-06-20 19:48:07 +0000 |
commit | be87bce32bc9af9bc5918a6e08806b61e3088165 (patch) | |
tree | 850b7cc18fbbcbfedbf4fe622907ae4ca40950ff /tools/opt | |
parent | 0382b30eb5ecdde9749841a2f39960ab8e2de87c (diff) | |
download | llvm-be87bce32bc9af9bc5918a6e08806b61e3088165.tar.gz llvm-be87bce32bc9af9bc5918a6e08806b61e3088165.tar.bz2 llvm-be87bce32bc9af9bc5918a6e08806b61e3088165.tar.xz |
Remove the simplify-libcalls pass (finally)
This commit completely removes what is left of the simplify-libcalls
pass. All of the functionality has now been migrated to the instcombine
and functionattrs passes. The following C API functions are now NOPs:
1. LLVMAddSimplifyLibCallsPass
2. LLVMPassManagerBuilderSetDisableSimplifyLibCalls
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184459 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt')
-rw-r--r-- | tools/opt/opt.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 57b03b4c48..f642a78fc0 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -445,7 +445,6 @@ static void AddOptimizationPasses(PassManagerBase &MPM,FunctionPassManager &FPM, } Builder.DisableUnitAtATime = !UnitAtATime; Builder.DisableUnrollLoops = OptLevel == 0; - Builder.DisableSimplifyLibCalls = DisableSimplifyLibCalls; Builder.populateFunctionPassManager(FPM); Builder.populateModulePassManager(MPM); @@ -465,7 +464,6 @@ static void AddStandardCompilePasses(PassManagerBase &PM) { if (!DisableInline) Builder.Inliner = createFunctionInliningPass(); Builder.OptLevel = 3; - Builder.DisableSimplifyLibCalls = DisableSimplifyLibCalls; Builder.populateModulePassManager(PM); } |