This is an archive of the discontinued LLVM Phabricator instance.

[BOLT] Add randomN split strategy
ClosedPublic

Authored by FPar on Jul 27 2022, 10:10 AM.

Details

Summary

This adds a strategy to split functions into a random number of
fragments at randomly chosen split points.

Diff Detail

Event Timeline

FPar created this revision.Jul 27 2022, 10:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 27 2022, 10:10 AM
Herald added a subscriber: mgrang. · View Herald Transcript
FPar requested review of this revision.Jul 27 2022, 10:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 27 2022, 10:10 AM
FPar removed a subscriber: mgrang.Jul 27 2022, 10:12 AM
FPar updated this revision to Diff 449064.Aug 1 2022, 9:59 AM

Rebase

FPar updated this revision to Diff 449138.Aug 1 2022, 2:54 PM

Rebase

FPar updated this revision to Diff 450874.Aug 8 2022, 10:51 AM

Use fragments in loop inversion pass

FPar added a subscriber: ayermolo.

Now that we have multiple of these Spilt* structs, does it make sense to have a base abstract class that enforces interface?

FPar added a comment.Aug 16 2022, 2:42 PM

Now that we have multiple of these Spilt* structs, does it make sense to have a base abstract class that enforces interface?

Yes. I do have that in a local commit already. Do you think I should insert that in front of D129827?

Now that we have multiple of these Spilt* structs, does it make sense to have a base abstract class that enforces interface?

Yes. I do have that in a local commit already. Do you think I should insert that in front of D129827?

I don't have a strong opinion one way or the other.

FPar added a comment.Aug 17 2022, 11:50 AM

Now that we have multiple of these Spilt* structs, does it make sense to have a base abstract class that enforces interface?

Yes. I do have that in a local commit already. Do you think I should insert that in front of D129827?

I don't have a strong opinion one way or the other.

See D132054.

This revision is now accepted and ready to land.Aug 17 2022, 7:11 PM
This revision was automatically updated to reflect the committed changes.