From: Reid Kleckner Date: Wed, 18 Nov 2015 01:21:06 +0000 (+0000) Subject: Attempt to fix uninitialized SDAG persistent ids detected by MSan X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dd94739f022b97d4108b22260cc6408cfb9696e4;p=oota-llvm.git Attempt to fix uninitialized SDAG persistent ids detected by MSan git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253422 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h index 8dfdd902994..83464a6c978 100644 --- a/include/llvm/CodeGen/SelectionDAG.h +++ b/include/llvm/CodeGen/SelectionDAG.h @@ -215,7 +215,7 @@ class SelectionDAG { /// Tracks dbg_value information through SDISel. SDDbgInfo *DbgInfo; - uint16_t NextPersistentId; + uint16_t NextPersistentId = 0; public: /// Clients of various APIs that cause global effects on