The load to store forwarding of aggregate to memcpy transformation can create faulty IR. This happens when the memecpy would be materialized before the argument of the store.
This diff add a check so that dominance tree remains correct.
|  Differential  D15947  
Check dominance tree before lifting memcpy in MemCpyOpt Authored by deadalnix on Jan 7 2016, 3:31 AM. 
Details The load to store forwarding of aggregate to memcpy transformation can create faulty IR. This happens when the memecpy would be materialized before the argument of the store. This diff add a check so that dominance tree remains correct. 
Diff Detail Event TimelineComment Actions Do you have any other test case? I don't see that change of the label in the test will pick this case up. |