diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-09-14 21:12:05 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-09-14 21:12:05 +0000 |
commit | 62e9a052b9fcf6b7330884ed0c8302c90a19929c (patch) | |
tree | d1a0c11000f2e7c46cf926df50f0c9b80b88aa11 /llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp | |
parent | 7ae94222cd5a5e687887232b8176d58c9dfd09ce (diff) | |
download | bcm5719-llvm-62e9a052b9fcf6b7330884ed0c8302c90a19929c.tar.gz bcm5719-llvm-62e9a052b9fcf6b7330884ed0c8302c90a19929c.zip |
Avoid warnings.
llvm-svn: 113857
Diffstat (limited to 'llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp b/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp index 9dbf29d85a9..79fcfe8d1c1 100644 --- a/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp +++ b/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp @@ -450,8 +450,9 @@ void ARMExpandPseudo::ExpandLaneOp(MachineBasicBlock::iterator &MBBI) { } assert(Lane < RegElts && "out of range lane for VLD/VST-lane"); - unsigned DstReg, D0, D1, D2, D3; - bool DstIsDead; + unsigned D0, D1, D2, D3; + unsigned DstReg = 0; + bool DstIsDead = false; if (TableEntry->IsLoad) { DstIsDead = MI.getOperand(OpIdx).isDead(); DstReg = MI.getOperand(OpIdx++).getReg(); |