Initialize LiveOutInfo's APInt members to zero, as APInt's
default constructor produces an uninitialized APInt. This fixes PR3896. llvm-svn: 67879
This commit is contained in:
parent
8aa6bf5b8e
commit
6d75876473
|
@ -135,7 +135,7 @@ public:
|
|||
struct LiveOutInfo {
|
||||
unsigned NumSignBits;
|
||||
APInt KnownOne, KnownZero;
|
||||
LiveOutInfo() : NumSignBits(0) {}
|
||||
LiveOutInfo() : NumSignBits(0), KnownOne(1, 0), KnownZero(1, 0) {}
|
||||
};
|
||||
|
||||
/// LiveOutRegInfo - Information about live out vregs, indexed by their
|
||||
|
|
Loading…
Reference in New Issue