[llvm] r219861 - Fixing the build failure due to compiler warnings and unnecessary disambiguation.

Chris Bieneman beanz at apple.com
Wed Oct 15 16:11:36 PDT 2014


Author: cbieneman
Date: Wed Oct 15 18:11:35 2014
New Revision: 219861

URL: http://llvm.org/viewvc/llvm-project?rev=219861&view=rev
Log:
Fixing the build failure due to compiler warnings and unnecessary disambiguation.

Modified:
    llvm/trunk/lib/Transforms/Scalar/Scalarizer.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/Scalarizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/Scalarizer.cpp?rev=219861&r1=219860&r2=219861&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/Scalarizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/Scalarizer.cpp Wed Oct 15 18:11:35 2014
@@ -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
   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;
 }
 





More information about the llvm-commits mailing list