This is an archive of the discontinued LLVM Phabricator instance.

scudo: Obtain tag from pointer instead of loading it from memory. NFCI.
ClosedPublic

Authored by pcc on Apr 21 2021, 7:44 PM.

Details

Summary

Since we already have a tagged pointer available to us, we can just
extract the tag from it and avoid an LDG instruction.

Diff Detail

Event Timeline

pcc requested review of this revision.Apr 21 2021, 7:44 PM
pcc created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptApr 21 2021, 7:44 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
cryptoad accepted this revision.Apr 21 2021, 8:44 PM
This revision is now accepted and ready to land.Apr 21 2021, 8:44 PM