mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 04:33:40 +00:00
Cast scalar results of Neon macros to the correct type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120631 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0be938e389
commit
e106bc17a3
@ -727,7 +727,7 @@ static std::string GenBuiltin(const std::string &name, const std::string &proto,
|
|||||||
if (define) {
|
if (define) {
|
||||||
if (sret)
|
if (sret)
|
||||||
s += "({ " + ts + " r; ";
|
s += "({ " + ts + " r; ";
|
||||||
else if (proto[0] != 's')
|
else
|
||||||
s += "(" + ts + ")";
|
s += "(" + ts + ")";
|
||||||
} else if (sret) {
|
} else if (sret) {
|
||||||
s += ts + " r; ";
|
s += ts + " r; ";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user