Fix a typo I spotted when hacking on SROA. Somewhat alarming that
authorChandler Carruth <chandlerc@gmail.com>
Wed, 9 Sep 2015 09:46:16 +0000 (09:46 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 9 Sep 2015 09:46:16 +0000 (09:46 +0000)
nothing broke.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247127 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoadCombine.cpp

index c19cd19..d25f2bd 100644 (file)
@@ -56,7 +56,7 @@ class LoadCombine : public BasicBlockPass {
 
 public:
   LoadCombine() : BasicBlockPass(ID), C(nullptr), AA(nullptr) {
 
 public:
   LoadCombine() : BasicBlockPass(ID), C(nullptr), AA(nullptr) {
-    initializeSROAPass(*PassRegistry::getPassRegistry());
+    initializeLoadCombinePass(*PassRegistry::getPassRegistry());
   }
   
   using llvm::Pass::doInitialization;
   }
   
   using llvm::Pass::doInitialization;