Teach the Neon intrinsic generator to widen half-precision float types.

This isn't currently used for anything but I ran into it when experimenting
with some changes, and it might be useful in the future.

llvm-svn: 121911
This commit is contained in:
Bob Wilson 2010-12-15 23:16:25 +00:00
parent f991d4f587
commit d7f8bd1c14
1 changed files with 2 additions and 0 deletions

View File

@ -73,6 +73,8 @@ static char Widen(const char t) {
return 'i';
case 'i':
return 'l';
case 'h':
return 'f';
default: throw "unhandled type in widen!";
}
return '\0';