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 c19cd19059b238f80bd7c3f63040d19e6a5066a0..d25f2bd7237318b273c6951cb18eabbecc994411 100644 (file)
@@ -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;