From: Chandler Carruth Date: Wed, 9 Sep 2015 09:46:16 +0000 (+0000) Subject: Fix a typo I spotted when hacking on SROA. Somewhat alarming that X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b7463578ec56965da8aa25a979c5d5dc3f676bdf;p=oota-llvm.git 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 --- 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;