summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2010-06-08 07:11:17 +0000
committerNate Begeman <natebegeman@mac.com>2010-06-08 07:11:17 +0000
commit96ec22d6832b41653eec18e17221e547a28fffdd (patch)
treece717a1a9c026bc57404670d99ccb3542766f8b7 /utils
parent5638783276b5ee74e53b64c000f50ab1ff048835 (diff)
downloadllvm-96ec22d6832b41653eec18e17221e547a28fffdd.tar.gz
llvm-96ec22d6832b41653eec18e17221e547a28fffdd.tar.bz2
llvm-96ec22d6832b41653eec18e17221e547a28fffdd.tar.xz
Fix a valgrind error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105600 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/NeonEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/NeonEmitter.cpp b/utils/TableGen/NeonEmitter.cpp
index 9cf2cbfc10..15358f26be 100644
--- a/utils/TableGen/NeonEmitter.cpp
+++ b/utils/TableGen/NeonEmitter.cpp
@@ -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) {