This is an archive of the discontinued LLVM Phabricator instance.

Don't insert lifetime.end markers between a musttail call and ret
ClosedPublic

Authored by rnk on May 15 2014, 1:58 PM.

Details

Summary

The allocas going out of scope are immediately killed by the return
instruction.

This is a resend of r208912, which was committed accidentally.

Diff Detail

Repository
rL LLVM

Event Timeline

rnk updated this revision to Diff 9454.May 15 2014, 1:58 PM
rnk retitled this revision from to Don't insert lifetime.end markers between a musttail call and ret.
rnk updated this object.
rnk added a reviewer: chandlerc.
rnk added a subscriber: Unknown Object (MLST).
chandlerc edited edge metadata.May 15 2014, 2:06 PM

This is fine, and explains it better IMO. Seeing them together also helps
me think about it in the right (and more obvious) direction. Thanks!

rnk closed this revision.May 19 2014, 7:24 AM
rnk updated this revision to Diff 9566.

Closed by commit rL208920 (authored by @rnk).