[PATCH] D28031: Allow target to specify early module passes

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 4 15:19:36 PST 2017


rampitec added a comment.

In https://reviews.llvm.org/D28031#636128, @jlebar wrote:

> I'd like Chandler to weigh in here on the approach.  Ideally frontends would not have to do anything to run the early-as-possible passes -- it's pretty annoying that we cannot rely on them being run.  But we have in this patch also isn't quite what I had in mind.  Let me try to spin a patch.


I'm leaning towards giving targets a hook to accept the PassManagerBuilder and adjust as they want it.


Repository:
  rL LLVM

https://reviews.llvm.org/D28031





More information about the llvm-commits mailing list