[LLVMdev] [PATCH] SelectionDAG Debug

Dan Gohman gohman at apple.com
Wed Mar 3 13:12:01 PST 2010


On Mar 2, 2010, at 8:58 AM, David Greene wrote:

> On Monday 01 March 2010 20:34:07 Dan Gohman wrote:
>> Do you have a fix for the blackfin codegen? That would be a great
>> way to motivate this patch.
> 
> I'm not following you.  Why does a fix for a bug have anything to do
> with a patch that catches bugs?

It helps people understand what's being checked.

On an unrelated topic, the patch works by replacing the normal use
list with a std::list. To be really complete, it should leave the
normal use list in place, so that it the normal use list code
continues to be tested in XDEBUG builds. A parallel std::list
could be maintained for consistency checking.

Dan




More information about the llvm-dev mailing list