projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
818b5f5
)
Teach the Neon intrinsic generator to widen half-precision float types.
author
Bob Wilson
<bob.wilson@apple.com>
Wed, 15 Dec 2010 23:16:25 +0000
(23:16 +0000)
committer
Bob Wilson
<bob.wilson@apple.com>
Wed, 15 Dec 2010 23:16:25 +0000
(23:16 +0000)
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121911
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/NeonEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/NeonEmitter.cpp
b/utils/TableGen/NeonEmitter.cpp
index 13bed47b4a5eb9a1ed1dee06ecbbd82c863e4aba..4864db436213584f7a7703faac01be88eacdf96f 100644
(file)
--- a/
utils/TableGen/NeonEmitter.cpp
+++ b/
utils/TableGen/NeonEmitter.cpp
@@
-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';