commit | c79528a112ca373ba65a4081cb2df8ba63023347 | [log] [tgz] |
---|---|---|
author | Bob Wilson <bob.wilson@apple.com> | Thu Dec 02 01:18:15 2010 +0000 |
committer | Bob Wilson <bob.wilson@apple.com> | Thu Dec 02 01:18:15 2010 +0000 |
tree | b46bae35b0e26c74ea489544b6d87a33956ce4b8 | |
parent | 6a13ddbd9b2159303996db44db6045730d0fe479 [diff] [blame] |
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
diff --git a/utils/TableGen/NeonEmitter.cpp b/utils/TableGen/NeonEmitter.cpp index c57580d..651802a 100644 --- a/utils/TableGen/NeonEmitter.cpp +++ b/utils/TableGen/NeonEmitter.cpp
@@ -734,7 +734,7 @@ } else if (sret) { s += ts + " r; "; } else { - s += ts + " r; r = "; + s += ts + " r; r = (" + ts + ")"; } }