From 3da7a5338edd92c15ca62fd900b95a028767df47 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Wed, 18 Nov 2015 01:21:06 +0000 Subject: [PATCH] Attempt to fix uninitialized SDAG persistent ids detected by MSan llvm-svn: 253422 --- llvm/include/llvm/CodeGen/SelectionDAG.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/CodeGen/SelectionDAG.h b/llvm/include/llvm/CodeGen/SelectionDAG.h index 8dfdd9029946..83464a6c9785 100644 --- a/llvm/include/llvm/CodeGen/SelectionDAG.h +++ b/llvm/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