Fix a valgrind error.
authorNate Begeman <natebegeman@mac.com>
Tue, 8 Jun 2010 07:11:17 +0000 (07:11 +0000)
committerNate Begeman <natebegeman@mac.com>
Tue, 8 Jun 2010 07:11:17 +0000 (07:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105600 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/NeonEmitter.cpp

index 9cf2cbfc108360820b0e3373cefd54fc9024025d..15358f26be7311072ba5375a60433bbd30995431 100644 (file)
@@ -436,7 +436,7 @@ static std::string GenOpString(OpKind op, const std::string &proto,
   std::string ts = TypeString(proto[0], typestr);
   std::string s = ts + " r; r";
 
-  bool quad, dummy;
+  bool dummy, quad = false;
   char type = ClassifyType(typestr, quad, dummy, dummy);
   unsigned nElts = 0;
   switch (type) {