Fixing the build failure due to compiler warnings and unnecessary disambiguation.
authorChris Bieneman <beanz@apple.com>
Wed, 15 Oct 2014 23:11:35 +0000 (23:11 +0000)
committerChris Bieneman <beanz@apple.com>
Wed, 15 Oct 2014 23:11:35 +0000 (23:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219861 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/Scalarizer.cpp

index 867289c2cb42bd561bc9df400d0103076cb4378b..64e12d45bb333527a211e054e3d6a767cc077a63 100644 (file)
@@ -181,7 +181,7 @@ char Scalarizer::ID = 0;
 } // end anonymous namespace
 
 INITIALIZE_PASS_WITH_OPTIONS(Scalarizer, "scalarizer",
-                             "Scalarize vector operations", false, false);
+                             "Scalarize vector operations", false, false)
 
 Scatterer::Scatterer(BasicBlock *bb, BasicBlock::iterator bbi, Value *v,
                      ValueVector *cachePtr)
@@ -243,8 +243,7 @@ bool Scalarizer::doInitialization(Module &M) {
   ParallelLoopAccessMDKind =
       M.getContext().getMDKindID("llvm.mem.parallel_loop_access");
   ScalarizeLoadStore =
-      M.getContext()
-          .template getOption<bool, Scalarizer, &Scalarizer::ScalarizeLoadStore>();
+      M.getContext().getOption<bool, Scalarizer, &Scalarizer::ScalarizeLoadStore>();
   return false;
 }