[LLVMdev] Massive Number of Test Failures

David A. Greene dag at cray.com
Thu Feb 25 19:27:21 PST 2010


On Thursday 25 February 2010 20:20:56 Dan Gohman wrote:

Wrong thread?

> SDUse::setInitial should initialize List to null in your patch. You're
> probably seeing random uninitialized data noise without that.
> (Though valgrind wouldn't notice this because of the aggressive reuse
> of allocated memory.)

Why isn't the default constructor called?  I would have expected that
to be invoked for every new SDUse.

I will fix this.

> Also, the replacement getOperandNo is returning the index in the
> use list, rather than the index in the operand array.

Thanks.  I don't have the source right in front of me.  I'll take a look
when I can.

                                   -Dave



More information about the llvm-dev mailing list