This is an archive of the discontinued LLVM Phabricator instance.

[IR] Add Instruction::isLifetimeStartOrEnd, NFC
ClosedPublic

Authored by vsk on Dec 21 2018, 12:16 PM.

Details

Summary

Instruction::isLifetimeStartOrEnd() checks whether an Instruction is an
llvm.lifetime.start or an llvm.lifetime.end marker.

This was suggested as a cleanup in D55967.

Diff Detail

Repository
rL LLVM

Event Timeline

vsk created this revision.Dec 21 2018, 12:16 PM
This revision is now accepted and ready to land.Dec 21 2018, 12:19 PM
davide accepted this revision.Dec 21 2018, 1:48 PM

LGTM

This revision was automatically updated to reflect the committed changes.