mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Cast scalar results of Neon macros to the correct type.
llvm-svn: 120631
This commit is contained in:
parent
409a5ff824
commit
b475c5a1ff
@ -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; ";
|
||||
|
Loading…
x
Reference in New Issue
Block a user