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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120638 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bob Wilson 2010-12-02 01:18:15 +00:00
parent 6a13ddbd9b
commit c79528a112

View File

@ -734,7 +734,7 @@ static std::string GenBuiltin(const std::string &name, const std::string &proto,
} else if (sret) {
s += ts + " r; ";
} else {
s += ts + " r; r = ";
s += ts + " r; r = (" + ts + ")";
}
}