diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-12-02 00:24:56 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-12-02 00:24:56 +0000 |
commit | e106bc17a369d071b9ca7120d9b3fc2df1025f7b (patch) | |
tree | c92ba9c78088fbcedd472881cbeac88f25e8578b /utils/TableGen/NeonEmitter.cpp | |
parent | 0be938e38916cecd4d3406c8531a341b2e1c9ec5 (diff) | |
download | external_llvm-e106bc17a369d071b9ca7120d9b3fc2df1025f7b.zip external_llvm-e106bc17a369d071b9ca7120d9b3fc2df1025f7b.tar.gz external_llvm-e106bc17a369d071b9ca7120d9b3fc2df1025f7b.tar.bz2 |
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
Diffstat (limited to 'utils/TableGen/NeonEmitter.cpp')
-rw-r--r-- | utils/TableGen/NeonEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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; "; |