summaryrefslogtreecommitdiff
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
authorMeador Inge <meadori@codesourcery.com>2013-06-20 19:48:07 +0000
committerMeador Inge <meadori@codesourcery.com>2013-06-20 19:48:07 +0000
commitbe87bce32bc9af9bc5918a6e08806b61e3088165 (patch)
tree850b7cc18fbbcbfedbf4fe622907ae4ca40950ff /include/llvm/Transforms
parent0382b30eb5ecdde9749841a2f39960ab8e2de87c (diff)
downloadllvm-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 'include/llvm/Transforms')
-rw-r--r--include/llvm/Transforms/IPO/PassManagerBuilder.h1
-rw-r--r--include/llvm/Transforms/Scalar.h6
2 files changed, 0 insertions, 7 deletions
diff --git a/include/llvm/Transforms/IPO/PassManagerBuilder.h b/include/llvm/Transforms/IPO/PassManagerBuilder.h
index 563721e128..29ad36f961 100644
--- a/include/llvm/Transforms/IPO/PassManagerBuilder.h
+++ b/include/llvm/Transforms/IPO/PassManagerBuilder.h
@@ -100,7 +100,6 @@ public:
/// added to the per-module passes.
Pass *Inliner;
- bool DisableSimplifyLibCalls;
bool DisableUnitAtATime;
bool DisableUnrollLoops;
bool BBVectorize;
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h
index f89208f0d4..a327dfff3e 100644
--- a/include/llvm/Transforms/Scalar.h
+++ b/include/llvm/Transforms/Scalar.h
@@ -303,12 +303,6 @@ Pass *createLoopDeletionPass();
//===----------------------------------------------------------------------===//
//
-/// createSimplifyLibCallsPass - This pass optimizes specific calls to
-/// specific well-known (library) functions.
-FunctionPass *createSimplifyLibCallsPass();
-
-//===----------------------------------------------------------------------===//
-//
// CodeGenPrepare - This pass prepares a function for instruction selection.
//
FunctionPass *createCodeGenPreparePass(const TargetMachine *TM = 0);