This is an archive of the discontinued LLVM Phabricator instance.

[FuncSpec][NFC] Improve the unittest coverage.
ClosedPublic

Authored by labrinea on Jun 18 2023, 11:13 AM.

Details

Summary

The specialization bonus is zero in some unittests because the basic blocks
containing the users of the constant arguments are executed less frequently
than the entry block. Sinking them into loops solves that.

Diff Detail

Event Timeline

labrinea created this revision.Jun 18 2023, 11:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 18 2023, 11:13 AM
Herald added a subscriber: ormris. · View Herald Transcript
labrinea requested review of this revision.Jun 18 2023, 11:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 18 2023, 11:13 AM
ChuanqiXu accepted this revision.Jun 18 2023, 6:53 PM
This revision is now accepted and ready to land.Jun 18 2023, 6:53 PM
This revision was landed with ongoing or failed builds.Jun 19 2023, 1:47 AM
This revision was automatically updated to reflect the committed changes.