This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] Use the TII hook for Noop insertion in BBSections (NFC)
ClosedPublic

Authored by dhoekwater on Aug 18 2023, 11:52 AM.

Details

Summary

Refactor BasicBlockSections to use the target-specific noop insertion
hook from TargetInstrInfo instead of building it ourselves. Using the
TII hook is both cleaner and makes it easier to extend BBSections to
non-X86 targets.

Diff Detail

Event Timeline

dhoekwater created this revision.Aug 18 2023, 11:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 18 2023, 11:52 AM
dhoekwater requested review of this revision.Aug 18 2023, 11:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 18 2023, 11:52 AM
rahmanl accepted this revision.Aug 18 2023, 11:58 AM
This revision is now accepted and ready to land.Aug 18 2023, 11:58 AM
This revision was landed with ongoing or failed builds.Aug 18 2023, 12:40 PM
This revision was automatically updated to reflect the committed changes.