This is an archive of the discontinued LLVM Phabricator instance.

[MemorySSA +LICM CFHoist] Solve PR40317.
ClosedPublic

Authored by asbirlea on Jan 24 2019, 11:23 AM.

Details

Summary

MemorySSA needs updating each time an instruction is moved.
LICM and control flow hoisting re-hoists instructions, thus needing another update when re-moving those instructions.
Pending cleanup: the MSSA update is duplicated, should be moved inside moveInstructionBefore.

Diff Detail

Repository
rL LLVM

Event Timeline

asbirlea created this revision.Jan 24 2019, 11:23 AM
asbirlea updated this revision to Diff 183357.Jan 24 2019, 11:35 AM

Add test-case.

This revision was not accepted when it landed; it landed in state Needs Review.Jan 24 2019, 11:50 AM
This revision was automatically updated to reflect the committed changes.