projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0be938e
)
Cast scalar results of Neon macros to the correct type.
author
Bob Wilson
<bob.wilson@apple.com>
Thu, 2 Dec 2010 00:24:56 +0000
(
00:24
+0000)
committer
Bob Wilson
<bob.wilson@apple.com>
Thu, 2 Dec 2010 00:24:56 +0000
(
00:24
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120631
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/NeonEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/NeonEmitter.cpp
b/utils/TableGen/NeonEmitter.cpp
index 87157a396d1ec1fe9cd01580a6f3eb1671578e4f..9feec48e6f0455d83576f18ee971a4f6b246a80f 100644
(file)
--- 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; ";