mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +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:
parent
0ede14f5c0
commit
84d08db733
@ -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
Block a user