search for: hoistcandaccess

Displaying 2 results from an estimated 2 matches for "hoistcandaccess".

2016 Apr 11
2
[LICM][MemorySSA] Converting LICM pass to use MemorySSA to avoid AliasSet collapse issue
Hi All, I'm looking into converting LICM to use MemorySSA instead of AliasSets to determine when it is safe to hoist/sink/promote loads and stores to get around the issue of alias set collapse (see discussion [1]). I have a prototype implementation, but have run into two issues that I could use input from the designers of MemorySSA to resolve: 1) Is MemorySSA intended to be
2016 Apr 20
2
[LICM][MemorySSA] Converting LICM pass to use MemorySSA to avoid AliasSet collapse issue
...abotu to be under review over here: http://reviews.llvm.org/D18090 a load hoist will look something like this to update: // We also hoist operands of loads using this function, so check to see if // this is really a memory access before we try to update MemorySSA for it. MemoryAccess *HoistCandAccess = MSSA->getMemoryAccess(HoistCand); if (HoistCandAccess) { MemoryUseOrDef *MUD = cast<MemoryUseOrDef>(HoistCandAccess); // What is happening here is that we are creating the hoisted access // and destroying the old accesses. MSSA->createMemoryAccess(HoistedInst, M...