aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Utils.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2018-03-28 18:03:25 +0000
committerDavid Blaikie <dblaikie@gmail.com>2018-03-28 18:03:25 +0000
commiteb8cc04ea2db5e6633ae0a4fc7cc9444d4d0ef98 (patch)
treed1e917fdd75d6a039b72445030f608e968e04e6c /llvm/lib/Transforms/Utils/Utils.cpp
parent4aa14dbcc2595aa6a48e59833596f38221faa1a5 (diff)
downloadllvm-eb8cc04ea2db5e6633ae0a4fc7cc9444d4d0ef98.zip
llvm-eb8cc04ea2db5e6633ae0a4fc7cc9444d4d0ef98.tar.gz
llvm-eb8cc04ea2db5e6633ae0a4fc7cc9444d4d0ef98.tar.bz2
Oops - moved slightly too many things from Scalar to Utils. Move LoopSimplifyCFG things back
llvm-svn: 328720
Diffstat (limited to 'llvm/lib/Transforms/Utils/Utils.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/Utils.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Utils/Utils.cpp b/llvm/lib/Transforms/Utils/Utils.cpp
index 73a1ce3..71ceee6 100644
--- a/llvm/lib/Transforms/Utils/Utils.cpp
+++ b/llvm/lib/Transforms/Utils/Utils.cpp
@@ -46,10 +46,6 @@ void LLVMInitializeTransformUtils(LLVMPassRegistryRef R) {
initializeTransformUtils(*unwrap(R));
}
-void LLVMAddLoopSimplifyCFGPass(LLVMPassManagerRef PM) {
- unwrap(PM)->add(createLoopSimplifyCFGPass());
-}
-
void LLVMAddLowerSwitchPass(LLVMPassManagerRef PM) {
unwrap(PM)->add(createLowerSwitchPass());
}