[LLVMdev] RFC: Pass Manager Redux
Chandler Carruth
chandlerc at google.com
Wed Jul 11 10:15:57 PDT 2012
On Wed, Jul 11, 2012 at 10:10 AM, Peter Cooper <peter_cooper at apple.com>wrote:
> This is excellent Chandler.
>
> We spoke before about wanting to keep running things like InstCombine and
> SimplifyCFG in a loop until stabilization. This will make doing that much
> easier.
>
> I think some of the idea for this work might have come from a patch i
> tried to submit a few weeks ago on reducing recomputing the dom tree, in
> which you commented that we need to fix the pass manager.
Well, my interest was renewed sharply when I wrote a significant
optimization pass that simply cannot run in the existing framework. =/
> In that email i mentioned that not all passes respect the return value
> from runOnFunction. Is your pass framework going to explicitly use this
> return value? If so we'll need everyone to help make sure passes correctly
> return when they change anything.
>
I *really* want to make this happen, but I think it needs to happen as a
phase-2. For now, I think we have to replicate the annoying current
behavior.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120711/616cf90b/attachment.html>
More information about the llvm-dev
mailing list