summaryrefslogtreecommitdiffstats
path: root/clang/utils/TableGen
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2015-08-22 01:30:13 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2015-08-22 01:30:13 +0000
commit86da3d8d7ca1ac4139073ca40cdca55f8eb6947d (patch)
tree0c5755b1022c313849d2be70bba4ce2d49da8470 /clang/utils/TableGen
parent74683fe519072bc3b90b88056094ea7d59da9b9f (diff)
downloadbcm5719-llvm-86da3d8d7ca1ac4139073ca40cdca55f8eb6947d.tar.gz
bcm5719-llvm-86da3d8d7ca1ac4139073ca40cdca55f8eb6947d.zip
[ARM NEON] Remove special-case for f16 vcvt handling. NFCI.
We can use the 'H' typespec modifier to use 128-bit vectors directly in the only two users of this special-case: the vcvt f16 intrinsics. This also lets us use more meaningful prototype modifiers. llvm-svn: 245778
Diffstat (limited to 'clang/utils/TableGen')
-rw-r--r--clang/utils/TableGen/NeonEmitter.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/utils/TableGen/NeonEmitter.cpp b/clang/utils/TableGen/NeonEmitter.cpp
index c77e91e02f9..6e7bc9057fd 100644
--- a/clang/utils/TableGen/NeonEmitter.cpp
+++ b/clang/utils/TableGen/NeonEmitter.cpp
@@ -837,10 +837,6 @@ void Type::applyModifier(char Mod) {
Float = true;
break;
case 'f':
- // Special case - if we're half-precision, a floating
- // point argument needs to be 128-bits (double size).
- if (isHalf())
- Bitwidth = 128;
Float = true;
ElementBitwidth = 32;
break;
OpenPOWER on IntegriCloud