From d0570c5bdd8c074ad8564c2a3d3563bf9f14ccdc Mon Sep 17 00:00:00 2001 From: Sirish Pande Date: Fri, 11 May 2012 20:00:34 +0000 Subject: [PATCH] Remove warnings from HexagonVLIWPacketizer. llvm-svn: 156636 --- lib/Target/Hexagon/HexagonVLIWPacketizer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp b/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp index fa1a969ea87..e7bdc9cd9dd 100644 --- a/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp +++ b/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp @@ -3295,9 +3295,9 @@ bool HexagonPacketizerList::CanPromoteToNewValueStore( MachineInstr *MI, // Check to make sure that they both will have their predicates // evaluate identically - unsigned predRegNumSrc; - unsigned predRegNumDst; - const TargetRegisterClass* predRegClass; + unsigned predRegNumSrc = 0; + unsigned predRegNumDst = 0; + const TargetRegisterClass* predRegClass = NULL; // Get predicate register used in the source instruction for(unsigned opNum = 0; opNum < PacketMI->getNumOperands(); opNum++) {