[PATCH] D20682: Expose target-specific pre-linking passes in TargetMachine
Yaxun Liu via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 8 14:43:41 PDT 2016
yaxunl updated this revision to Diff 60106.
yaxunl added a comment.
Remove unnecessary argument.
http://reviews.llvm.org/D20682
Files:
include/llvm/Target/TargetMachine.h
Index: include/llvm/Target/TargetMachine.h
===================================================================
--- include/llvm/Target/TargetMachine.h
+++ include/llvm/Target/TargetMachine.h
@@ -254,6 +254,9 @@
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20682.60106.patch
Type: text/x-patch
Size: 519 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160608/3d615b9b/attachment.bin>
More information about the llvm-commits
mailing list