[LLVMdev] [PATCH] SelectionDAG Debugging

David Greene dag at cray.com
Fri Jan 15 11:51:48 PST 2010


On Friday 15 January 2010 13:41, Dan Gohman wrote:
> On Jan 15, 2010, at 11:31 AM, David Greene wrote:
> > On Friday 15 January 2010 13:16, Dan Gohman wrote:
> >> Is it ever desirable to pass false to the "limit" argument?
> >
> > Not in the usual course of things but I figured someday someone
> > might want to dig deeper.  "limit" is just a heuristic and it
> > could be wrong.  Maybe the SelectionDAG is really just huge.
>
> "limit" is just the flag that controls whether or not a message
> is printed. It seems the message would always be either useful
> or harmless.

Ah, yes, you're correct.  I goofed there.  The message should be
printed and "limit" should control whether we actually check
the depth.

Sound good?

                            -Dave



More information about the llvm-dev mailing list