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. llvm-svn: 120638
This commit is contained in:
parent
87b9114f49
commit
a9ea9ef840
|
@ -734,7 +734,7 @@ static std::string GenBuiltin(const std::string &name, const std::string &proto,
|
||||||
} else if (sret) {
|
} else if (sret) {
|
||||||
s += ts + " r; ";
|
s += ts + " r; ";
|
||||||
} else {
|
} else {
|
||||||
s += ts + " r; r = ";
|
s += ts + " r; r = (" + ts + ")";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue