Remove warnings from HexagonVLIWPacketizer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156636 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sirish Pande 2012-05-11 20:00:34 +00:00
parent 5abd10a394
commit 12a52525e8

View File

@ -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++) {