[llvm-commits] [llvm] r113857 - /llvm/trunk/lib/Target/ARM/ARMExpandPseudoInsts.cpp
Bob Wilson
bob.wilson at apple.com
Tue Sep 14 14:12:05 PDT 2010
Author: bwilson
Date: Tue Sep 14 16:12:05 2010
New Revision: 113857
URL: http://llvm.org/viewvc/llvm-project?rev=113857&view=rev
Log:
Avoid warnings.
Modified:
llvm/trunk/lib/Target/ARM/ARMExpandPseudoInsts.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMExpandPseudoInsts.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMExpandPseudoInsts.cpp?rev=113857&r1=113856&r2=113857&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMExpandPseudoInsts.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMExpandPseudoInsts.cpp Tue Sep 14 16:12:05 2010
@@ -450,8 +450,9 @@
}
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();
More information about the llvm-commits
mailing list