[llvm-commits] [llvm] r67879 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h

Duncan Sands baldrick at free.fr
Sat Mar 28 03:55:08 PDT 2009


Hi Dan,

> Initialize LiveOutInfo's APInt members to zero, as APInt's
> default constructor produces an uninitialized APInt.
> This fixes PR3896.

is this the correct fix?  If LiveOutInfo was default
constructed, doesn't this mean it doesn't contain
anything useful.  If so, why is it being examined?
Also, will the code that uses it come to the right
conclusions given this initialization?

Ciao,

Duncan.



More information about the llvm-commits mailing list