This is an archive of the discontinued LLVM Phabricator instance.

[llvm-exegesis] Analysis tests should run even without libpfm (PR51687)
ClosedPublic

Authored by RKSimon on Sep 7 2021, 4:54 AM.

Details

Summary

Move inverse_throughput, latency and uops to sub-directories (like we already do for lbr), which require libpfm so we can relax the lit limits for analysis tests in the x86 root directory.

Diff Detail

Event Timeline

RKSimon created this revision.Sep 7 2021, 4:54 AM
RKSimon requested review of this revision.Sep 7 2021, 4:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 7 2021, 4:54 AM
RKSimon retitled this revision from [llvm-exegesis] Analysis tests should run even without libpfm to [llvm-exegesis] Analysis tests should run even without libpfm (PR51687).Sep 7 2021, 4:55 AM
lebedev.ri added a comment.EditedSep 7 2021, 5:00 AM

Would it be sufficient to create only llvm/test/tools/llvm-exegesis/X86/measuring/ ?

Would it be sufficient to create only llvm/test/tools/llvm-exegesis/X86/measuring/ ?

Whatever people would prefer - I have no preference. What about lbr - would that be moved as well?

courbet accepted this revision.Sep 7 2021, 5:21 AM

Would it be sufficient to create only llvm/test/tools/llvm-exegesis/X86/measuring/ ?

Whatever people would prefer - I have no preference. What about lbr - would that be moved as well?

I vote for separate directories, but no strong preference.

This revision is now accepted and ready to land.Sep 7 2021, 5:21 AM

I've kept the separate directories for now, if we want to reorganize this in the future it should just be a NFC.

thakis added a subscriber: thakis.Sep 7 2021, 6:19 AM

This seems to break tests on arm macs: http://45.33.8.238/macm1/17451/step_11.txt

Please take a look.

This seems to break tests on arm macs: http://45.33.8.238/macm1/17451/step_11.txt

Please take a look.

Looking at this now

This seems to break tests on arm macs: http://45.33.8.238/macm1/17451/step_11.txt

Please take a look.

Looking at this now

Looks to be fixed now: http://45.33.8.238/macm1/17454/step_11.txt