This is an archive of the discontinued LLVM Phabricator instance.

[Attributor][NFC] Move DerefState to header and use StateWrapper
ClosedPublic

Authored by uenoku on Aug 22 2019, 5:43 AM.

Details

Summary

In D65402, I want to get DerefState from AADereferenceable but it was not allowed. This patch moves DerefState definition into Attributor.h and makes AADerefenceable inherit StateWrapper.

Diff Detail

Repository
rL LLVM

Event Timeline

uenoku created this revision.Aug 22 2019, 5:43 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 22 2019, 5:43 AM
This revision is now accepted and ready to land.Aug 22 2019, 6:20 AM
This revision was automatically updated to reflect the committed changes.