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:
Bob Wilson 2010-12-02 01:18:15 +00:00
parent 87b9114f49
commit a9ea9ef840
1 changed files with 1 additions and 1 deletions

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 + ")";
}
}