setupAnalyses();
MemorySSA &MSSA = Analyses->MSSA;
- MemorySSAWalker *Walker = &*Analyses->Walker;
+ MemorySSAWalker *Walker = Analyses->Walker;
// Before, the load will be a use of a phi<store, liveonentry>. It should be
// the same after.
setupAnalyses();
MemorySSA &MSSA = Analyses->MSSA;
- MemorySSAWalker *Walker = &*Analyses->Walker;
+ MemorySSAWalker *Walker = Analyses->Walker;
unsigned I = 0;
for (StoreInst *V : {S1, S2, S3}) {
setupAnalyses();
MemorySSA &MSSA = Analyses->MSSA;
- MemorySSAWalker *Walker = &*Analyses->Walker;
+ MemorySSAWalker *Walker = Analyses->Walker;
MemoryAccess *LoadClobber = Walker->getClobberingMemoryAccess(LI);
EXPECT_EQ(LoadClobber, MSSA.getMemoryAccess(SI));
setupAnalyses();
MemorySSA &MSSA = Analyses->MSSA;
- MemorySSAWalker *Walker = &*Analyses->Walker;
+ MemorySSAWalker *Walker = Analyses->Walker;
MemoryAccess *StoreAccess = MSSA.getMemoryAccess(SI);
MemoryLocation StoreLoc = MemoryLocation::get(SI);