This is an archive of the discontinued LLVM Phabricator instance.

Compatibility of AnnotationWriter with BasicBlock Class
ClosedPublic

Authored by knaumov on Jun 5 2020, 5:57 PM.

Details

Summary

In our downstream, we need to annotate only individual BasicBlocks and not the full Function. This change allows us to use AnnotationWriter with BasicBlock through BB.print() method. This implementation is identical to the existing one for Function.

Diff Detail

Event Timeline

knaumov created this revision.Jun 5 2020, 5:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 5 2020, 5:57 PM
apilipenko accepted this revision.Jun 17 2020, 11:42 AM

Look good.

This revision is now accepted and ready to land.Jun 17 2020, 11:42 AM