This is an archive of the discontinued LLVM Phabricator instance.

hwasan: Shrink outlined checks by 1 instruction.
ClosedPublic

Authored by pcc on Jun 19 2019, 12:42 PM.

Details

Summary

Turns out that we can save an instruction by folding the right shift into
the compare.

Diff Detail

Repository
rL LLVM

Event Timeline

pcc created this revision.Jun 19 2019, 12:42 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 19 2019, 12:42 PM
eugenis accepted this revision.Jun 19 2019, 1:28 PM

LGTM

This revision is now accepted and ready to land.Jun 19 2019, 1:28 PM
This revision was automatically updated to reflect the committed changes.