[PATCH] D18614: Add TargetMachine::addEarlyAsPossiblePasses.

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 27 11:32:36 PDT 2016


rnk accepted this revision.
rnk added a reviewer: rnk.
rnk added a comment.

lgtm


================
Comment at: include/llvm/Target/TargetMachine.h:223
@@ +222,3 @@
+  /// passes.
+  virtual void addEarlyAsPossiblePasses(PassManagerBase &) {}
+
----------------
As discussed, we should call it from opt as well, then. opt should have a TargetMachine somewhere.


http://reviews.llvm.org/D18614





More information about the llvm-commits mailing list