Fixing the build failure due to compiler warnings and unnecessary disambiguation.

llvm-svn: 219861
This commit is contained in:
Chris Bieneman 2014-10-15 23:11:35 +00:00
parent 14c0c5901d
commit 5c4e9551c9
1 changed files with 2 additions and 3 deletions

View 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;
}