summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-12-15 23:16:25 +0000
committerBob Wilson <bob.wilson@apple.com>2010-12-15 23:16:25 +0000
commitd7f8bd1c1456976da87ead62f8f8596d56fd23ff (patch)
tree68a9e73982e31fdcb388c5939492293bec9532b7
parentf991d4f587553d3a5ccc188fb0582690ff781497 (diff)
downloadbcm5719-llvm-d7f8bd1c1456976da87ead62f8f8596d56fd23ff.tar.gz
bcm5719-llvm-d7f8bd1c1456976da87ead62f8f8596d56fd23ff.zip
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
-rw-r--r--llvm/utils/TableGen/NeonEmitter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/NeonEmitter.cpp b/llvm/utils/TableGen/NeonEmitter.cpp
index 13bed47b4a5..4864db43621 100644
--- a/llvm/utils/TableGen/NeonEmitter.cpp
+++ b/llvm/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';
OpenPOWER on IntegriCloud