projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cast scalar results of Neon macros to the correct type.
[oota-llvm.git]
/
utils
/
TableGen
/
NeonEmitter.cpp
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; ";