Cast scalar results of Neon macros to the correct type.
[oota-llvm.git] / utils / TableGen / NeonEmitter.cpp
index 87157a396d1ec1fe9cd01580a6f3eb1671578e4f..9feec48e6f0455d83576f18ee971a4f6b246a80f 100644 (file)
@@ -727,7 +727,7 @@ static std::string GenBuiltin(const std::string &name, const std::string &proto,
     if (define) {
       if (sret)
         s += "({ " + ts + " r; ";
-      else if (proto[0] != 's')
+      else
         s += "(" + ts + ")";
     } else if (sret) {
       s += ts + " r; ";