Chandler Carruth
2014-Feb-14 16:36 UTC
[LLVMdev] Proposal: split tools/opt/opt.cpp to OptTool and a smaller main()
On Thu, Feb 13, 2014 at 3:51 PM, Sean Silva <silvas at purdue.edu> wrote:> I thought that opt was supposed to basically be a way to run a PassManager > over some IR? Seems like the new PM should standardize the appropriate > things and have them be a natural part of its API.FWIW, it will. I don't want to try to sequence these things though. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140214/70df7880/attachment.html>
Eli Bendersky
2014-Feb-14 16:42 UTC
[LLVMdev] Proposal: split tools/opt/opt.cpp to OptTool and a smaller main()
On Fri, Feb 14, 2014 at 8:36 AM, Chandler Carruth <chandlerc at google.com>wrote:> > On Thu, Feb 13, 2014 at 3:51 PM, Sean Silva <silvas at purdue.edu> wrote: > >> I thought that opt was supposed to basically be a way to run a >> PassManager over some IR? Seems like the new PM should standardize the >> appropriate things and have them be a natural part of its API. > > > FWIW, it will. I don't want to try to sequence these things though. >I don't think any of my changes contradict future PM work. On the contrary, if they reduce code duplication in places that could only have benefits. I have a feeling some folks overestimate the extent of these changes. All I'm doing is trying to take all the cruft that has been dumped into opt.cpp over many years and modularize it a bit, making it more convenient to reuse. P.S. is there an ETA on the new PM work? Eli -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140214/8f0c5eae/attachment.html>
Chandler Carruth
2014-Feb-14 16:56 UTC
[LLVMdev] Proposal: split tools/opt/opt.cpp to OptTool and a smaller main()
On Fri, Feb 14, 2014 at 8:42 AM, Eli Bendersky <eliben at google.com> wrote:> P.S. is there an ETA on the new PM work?ETAs on software are moderately... challenging. When I'm not stuck in a committee, I'm working on it. I hope that the driver related bits will be done quite soon. The first bits are already there. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140214/161460ed/attachment.html>