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

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 3 12:18:31 PST 2017


rampitec added a comment.

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

> This seems too general: Given a PassManagerBuilder object, you can do anything, not just add early-as-possible passes.


I personally do not see a big issue with the interface being too general, but I see your point. Given your proposed approach will run early module passes earlier than now I also think that is a benefit. I will try to code it and see how it goes.


Repository:
  rL LLVM

https://reviews.llvm.org/D28031





More information about the llvm-commits mailing list