[llvm-commits] [llvm-gcc-4.2] r78123 - /llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp
Bob Wilson
bob.wilson at apple.com
Tue Aug 4 16:37:07 PDT 2009
Author: bwilson
Date: Tue Aug 4 18:36:57 2009
New Revision: 78123
URL: http://llvm.org/viewvc/llvm-project?rev=78123&view=rev
Log:
Initialize to avoid gcc warning.
Modified:
llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp
Modified: llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp?rev=78123&r1=78122&r2=78123&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp Tue Aug 4 18:36:57 2009
@@ -2045,7 +2045,7 @@
case NEON_BUILTIN_vld4_dup: {
const VectorType *VTy =
GetVldstType(exp, insn_data[icode].operand[0].mode);
- unsigned NumVecs;
+ unsigned NumVecs = 0;
switch (neon_code) {
case NEON_BUILTIN_vld1_dup: NumVecs = 1; break;
case NEON_BUILTIN_vld2_dup: NumVecs = 2; break;
More information about the llvm-commits
mailing list