Add another missing cast for Neon vcombine results.
authorBob Wilson <bob.wilson@apple.com>
Thu, 2 Dec 2010 01:18:18 +0000 (01:18 +0000)
committerBob Wilson <bob.wilson@apple.com>
Thu, 2 Dec 2010 01:18:18 +0000 (01:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120639 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/NeonEmitter.cpp

index 651802a0602876c580eb77e3ae506837a5751fca..56e7e185b4544157f281c1b35913017611db1190 100644 (file)
@@ -597,7 +597,7 @@ static std::string GenOpString(OpKind op, const std::string &proto,
     s += "(" + ts + ")a";
     break;
   case OpConcat:
-    s += "__builtin_shufflevector((int64x1_t)a";
+    s += "(" + ts + ")__builtin_shufflevector((int64x1_t)a";
     s += ", (int64x1_t)b, 0, 1)";
     break;
   case OpHi: