From: Krzysztof Parzyszek Date: Tue, 2 May 2017 18:29:49 +0000 (+0000) Subject: [Hexagon] Fix uninitialized value caught with valgrind X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d25714fcab81ff16657648253002fa39361585a2;p=llvm [Hexagon] Fix uninitialized value caught with valgrind Patch by Colin LeMahieu. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301957 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Hexagon/HexagonVLIWPacketizer.h b/lib/Target/Hexagon/HexagonVLIWPacketizer.h index 3a2d777c274..adb92b6dc85 100644 --- a/lib/Target/Hexagon/HexagonVLIWPacketizer.h +++ b/lib/Target/Hexagon/HexagonVLIWPacketizer.h @@ -36,7 +36,7 @@ class HexagonPacketizerList : public VLIWPacketizerList { // Set to true if the packet contains an instruction that stalls with an // instruction from the previous packet. - bool PacketStalls; + bool PacketStalls = false; protected: /// \brief A handle to the branch probability pass.