This is an archive of the discontinued LLVM Phabricator instance.

[SystemZ] Make LibFunc_bcmp unavailable
AbandonedPublic

Authored by jonpa on Sep 11 2020, 4:28 AM.

Details

Reviewers
uweigand
Summary

Memcmp has hardware support on SystemZ, so there is no need or benefit of sometimes using bcmp .

This patch makes bcmp unavailable on SystemZ, so that memcmp:s are not replaced by calls to it.

Diff Detail

Event Timeline

jonpa created this revision.Sep 11 2020, 4:28 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 11 2020, 4:28 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
jonpa requested review of this revision.Sep 11 2020, 4:28 AM