Displaying 1 result from an estimated 1 matches for "oldmemacc".
2016 Oct 30
0
[PATCH] D26127: [MemorySSA] Repair AccessList invariants after insertion of new MemoryUseOrDef.
...h to insert an access, not replace
> anything. I've inserted a new memory instruction (memmove, memcpy, or
> memset), into the IR and wish to keep the MSSA tree synchronized.
>
This, in general, is not possible right now. See below.
>
>
>> MemoryAccess *Def = OldMemAcc->getDefiningAccess();
>> NewMemAcc =
>> MSSA->createMemoryAccessAfter(Repl, Def,
>> OldMemAccess->getMemoryInst());
>> OldMemAcc->replaceAllUsesWith(NewMemAcc);
>>
>> It doesn't make any sense to create a repla...