Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Add addPreLinkPasses to target machine to allow pre-linking passes. #26

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions include/llvm/Target/TargetMachine.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,9 @@ class TargetMachine {
return true;
}

/// Add target-specific pre-linking passes to the specified pass manager.
virtual void addPreLinkPasses(PassManagerBase &) {}

/// True if subtarget inserts the final scheduling pass on its own.
///
/// Branch relaxation, which must happen after block placement, can
Expand Down