[LLVMdev] Massive Number of Test Failures

David A. Greene
Fri, 26 Feb 2010 03:27:21 -0000

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