This is an archive of the discontinued LLVM Phabricator instance.

[BOLT] ZeroIdiom pass
DraftPublic

Authored by Amir on May 4 2023, 11:46 AM.
This is a draft revision that has not yet been submitted for review.

Details

Reviewers
rafauler
maksfb

Diff Detail

Event Timeline

Amir created this revision.May 4 2023, 11:46 AM
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Amir updated this revision to Diff 519618.May 4 2023, 12:52 PM

Add test

Amir added a comment.May 4 2023, 1:12 PM

Test failing with initial version: https://paste.debian.net/1279337/
Test passing with this version: https://paste.debian.net/1279338/
Clang passing with this version: https://paste.debian.net/1279339/

Amir updated this revision to Diff 519716.May 4 2023, 6:44 PM

Only return true from replaceZeroIdiom if the replacement was performed

Amir updated this revision to Diff 519722.May 4 2023, 7:11 PM

Remove the use of CG

Amir updated this revision to Diff 519999.May 5 2023, 4:08 PM

Add knob

Amir updated this revision to Diff 522763.May 16 2023, 1:29 PM

Don't build CallGraph