commit | e106bc17a369d071b9ca7120d9b3fc2df1025f7b | [log] [tgz] |
---|---|---|
author | Bob Wilson <bob.wilson@apple.com> | Thu Dec 02 00:24:56 2010 +0000 |
committer | Bob Wilson <bob.wilson@apple.com> | Thu Dec 02 00:24:56 2010 +0000 |
tree | c92ba9c78088fbcedd472881cbeac88f25e8578b | |
parent | 0be938e38916cecd4d3406c8531a341b2e1c9ec5 [diff] [blame] |
Cast scalar results of Neon macros to the correct type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120631 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/TableGen/NeonEmitter.cpp b/utils/TableGen/NeonEmitter.cpp index 87157a3..9feec48 100644 --- a/utils/TableGen/NeonEmitter.cpp +++ b/utils/TableGen/NeonEmitter.cpp
@@ -727,7 +727,7 @@ if (define) { if (sret) s += "({ " + ts + " r; "; - else if (proto[0] != 's') + else s += "(" + ts + ")"; } else if (sret) { s += ts + " r; ";