diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-05-13 15:13:22 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-05-13 15:13:22 +0000 |
commit | 51b49c52926d65e6fe84e32894f1a8dd32223bab (patch) | |
tree | 445e20a203dfc115838e90087ebdd8e078f7f856 /lib/Target/Hexagon/HexagonInstrInfo.cpp | |
parent | 23a401290b24b7235d31397a013933d17672f1a3 (diff) | |
download | external_llvm-51b49c52926d65e6fe84e32894f1a8dd32223bab.zip external_llvm-51b49c52926d65e6fe84e32894f1a8dd32223bab.tar.gz external_llvm-51b49c52926d65e6fe84e32894f1a8dd32223bab.tar.bz2 |
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
Diffstat (limited to 'lib/Target/Hexagon/HexagonInstrInfo.cpp')
-rw-r--r-- | lib/Target/Hexagon/HexagonInstrInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/Hexagon/HexagonInstrInfo.cpp b/lib/Target/Hexagon/HexagonInstrInfo.cpp index b6ec8e1..eba6ab5 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<MachineOperand> &Cond, bool AllowModify) const { + TBB = NULL; FBB = NULL; // If the block has no terminators, it just falls into the block after it. |