This is an archive of the discontinued LLVM Phabricator instance.

[NFC][llvm-exegesis] Refactor ResolvedSchedClass & friends
ClosedPublic

Authored by lebedev.ri on Mar 29 2019, 6:57 AM.

Details

Summary

ResolvedSchedClass will need to be used outside of Analysis
(before InstructionBenchmarkClustering even), therefore promote
it into a non-private top-level class, and while there also
move all of the functions that are only called by ResolvedSchedClass
into that same new file.

Diff Detail

Repository
rL LLVM

Event Timeline

lebedev.ri created this revision.Mar 29 2019, 6:57 AM
lebedev.ri retitled this revision from [NFC][llvm-exegesis] Refactor ResolvedSchedClass & firiends to [NFC][llvm-exegesis] Refactor ResolvedSchedClass & friends.Mar 29 2019, 6:57 AM

Update comment, too.

courbet accepted this revision.Mar 29 2019, 7:15 AM
This revision is now accepted and ready to land.Mar 29 2019, 7:15 AM

Thanks for the review!

This revision was automatically updated to reflect the committed changes.
llvm/trunk/tools/llvm-exegesis/lib/SchedClassResolution.cpp