Page MenuHomePhabricator

[ExpandMemCmp] Allow overlaping loads in the zero-relational case.
ClosedPublic

Authored by courbet on Mar 13 2020, 7:29 AM.

Details

Summary

This allows doing memcmp(p, q, 7) with 2 loads instead of a call to
memcmp.
This fixes part of PR45147.

Diff Detail

Event Timeline

courbet created this revision.Mar 13 2020, 7:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 13 2020, 7:29 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
spatel accepted this revision.Mar 31 2020, 10:39 AM

LGTM

This revision is now accepted and ready to land.Mar 31 2020, 10:39 AM
This revision was automatically updated to reflect the committed changes.