mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-10 02:25:47 +00:00
Initialize LiveOutInfo's APInt members to zero, as APInt's
default constructor produces an uninitialized APInt. This fixes PR3896. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67879 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -135,7 +135,7 @@ public:
|
|||||||
struct LiveOutInfo {
|
struct LiveOutInfo {
|
||||||
unsigned NumSignBits;
|
unsigned NumSignBits;
|
||||||
APInt KnownOne, KnownZero;
|
APInt KnownOne, KnownZero;
|
||||||
LiveOutInfo() : NumSignBits(0) {}
|
LiveOutInfo() : NumSignBits(0), KnownOne(1, 0), KnownZero(1, 0) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
/// LiveOutRegInfo - Information about live out vregs, indexed by their
|
/// LiveOutRegInfo - Information about live out vregs, indexed by their
|
||||||
|
Reference in New Issue
Block a user