[llvm-commits] [llvm] r105600 - /llvm/trunk/utils/TableGen/NeonEmitter.cpp

Nate Begeman natebegeman at mac.com
Tue Jun 8 00:11:17 PDT 2010


Author: sampo
Date: Tue Jun  8 02:11:17 2010
New Revision: 105600

URL: http://llvm.org/viewvc/llvm-project?rev=105600&view=rev
Log:
Fix a valgrind error.

Modified:
    llvm/trunk/utils/TableGen/NeonEmitter.cpp

Modified: llvm/trunk/utils/TableGen/NeonEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/NeonEmitter.cpp?rev=105600&r1=105599&r2=105600&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/NeonEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/NeonEmitter.cpp Tue Jun  8 02:11:17 2010
@@ -436,7 +436,7 @@
   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) {





More information about the llvm-commits mailing list