This is an archive of the discontinued LLVM Phabricator instance.

[llvm-exegesis] Fix D80610.
ClosedPublic

Authored by courbet on Jun 2 2020, 12:39 AM.

Details

Summary

Using a .data() member on a StringRef was discarding the StringRef
size, breaking llvm-exegesis on machines with counter sums (e.g.
Zen2).

Diff Detail

Event Timeline

courbet created this revision.Jun 2 2020, 12:39 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 2 2020, 12:39 AM
Herald added a subscriber: mstojanovic. · View Herald Transcript
kadircet accepted this revision.Jun 2 2020, 12:56 AM
kadircet added a subscriber: kadircet.

LGTM

This revision is now accepted and ready to land.Jun 2 2020, 12:56 AM
This revision was automatically updated to reflect the committed changes.

Thanks for the fix, Clement !
Sorry for the late response, this was a bit early in my timezone. :-)