From b7463578ec56965da8aa25a979c5d5dc3f676bdf Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Wed, 9 Sep 2015 09:46:16 +0000 Subject: [PATCH] Fix a typo I spotted when hacking on SROA. Somewhat alarming that nothing broke. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247127 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/LoadCombine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Scalar/LoadCombine.cpp b/lib/Transforms/Scalar/LoadCombine.cpp index c19cd19059b..d25f2bd7237 100644 --- a/lib/Transforms/Scalar/LoadCombine.cpp +++ b/lib/Transforms/Scalar/LoadCombine.cpp @@ -56,7 +56,7 @@ class LoadCombine : public BasicBlockPass { public: LoadCombine() : BasicBlockPass(ID), C(nullptr), AA(nullptr) { - initializeSROAPass(*PassRegistry::getPassRegistry()); + initializeLoadCombinePass(*PassRegistry::getPassRegistry()); } using llvm::Pass::doInitialization; -- 2.34.1