Page MenuHomePhabricator

[CodeGen] Use IRBuilder to create llvm.lifetime intrinsics.
ClosedPublic

Authored by samsonov on Jun 12 2015, 2:11 PM.

Details

Summary

In addition to easier syntax, IRBuilder makes sure to set correct
debug locations for newly added instructions (bitcast and
llvm.lifetime itself). This restores the original behavior, which
was modified by r234581 (reapplied as r235553).

Extend one of the tests to check for debug locations.

Diff Detail

Repository
rL LLVM

Event Timeline

samsonov updated this revision to Diff 27595.Jun 12 2015, 2:11 PM
samsonov retitled this revision from to [CodeGen] Use IRBuilder to create llvm.lifetime intrinsics..
samsonov updated this object.
samsonov edited the test plan for this revision. (Show Details)
samsonov added reviewers: aadg, dblaikie.
samsonov added subscribers: majnemer, Unknown Object (MLST).
This revision was automatically updated to reflect the committed changes.