Skip to content
Commit ca72b0a7 authored by Daniel Hoekwater's avatar Daniel Hoekwater
Browse files

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

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.

Differential Revision: https://reviews.llvm.org/D158303
parent 67b71ad0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment