From: Benjamin Kramer Date: Sun, 13 May 2012 15:13:22 +0000 (+0000) Subject: Hexagon: Initialize TBB to 0. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=51b49c52926d65e6fe84e32894f1a8dd32223bab;p=oota-llvm.git Hexagon: Initialize TBB to 0. Found by valgrind. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156744 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Hexagon/HexagonInstrInfo.cpp b/lib/Target/Hexagon/HexagonInstrInfo.cpp index b6ec8e10bc9..eba6ab51b49 100644 --- a/lib/Target/Hexagon/HexagonInstrInfo.cpp +++ b/lib/Target/Hexagon/HexagonInstrInfo.cpp @@ -171,6 +171,7 @@ bool HexagonInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&FBB, SmallVectorImpl &Cond, bool AllowModify) const { + TBB = NULL; FBB = NULL; // If the block has no terminators, it just falls into the block after it.