diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-12-02 01:18:15 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-12-02 01:18:15 +0000 |
commit | c79528a112ca373ba65a4081cb2df8ba63023347 (patch) | |
tree | b46bae35b0e26c74ea489544b6d87a33956ce4b8 /utils | |
parent | 6a13ddbd9b2159303996db44db6045730d0fe479 (diff) |
Add casts in arm_neon.h for result values in inline functions as well as macros.
We should not rely on lax-vector-conversions for these intrinsics to work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120638 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-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 c57580da57..651802a060 100644 --- a/utils/TableGen/NeonEmitter.cpp +++ b/utils/TableGen/NeonEmitter.cpp @@ -734,7 +734,7 @@ static std::string GenBuiltin(const std::string &name, const std::string &proto, } else if (sret) { s += ts + " r; "; } else { - s += ts + " r; r = "; + s += ts + " r; r = (" + ts + ")"; } } |