diff options
| author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-04-10 00:08:48 +0000 |
|---|---|---|
| committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-04-10 00:08:48 +0000 |
| commit | 1ffe7c7d3623335710df4919f377563228fcb6de (patch) | |
| tree | cea38aed2b4a9d673cdd726907c5fdb46ccce053 /clang/lib/Lex/Preprocessor.cpp | |
| parent | bf105b2d2a10c6802162b9318adba85ecb83d749 (diff) | |
| download | bcm5719-llvm-1ffe7c7d3623335710df4919f377563228fcb6de.tar.gz bcm5719-llvm-1ffe7c7d3623335710df4919f377563228fcb6de.zip | |
[AArch64] Promote f16 operations to f32.
For the most common ones (such as fadd), we already did the promotion.
Do the same thing for all the others.
Currently, we'll just crash/assert on all these operations, as
there's no hardware or libcall support whatsoever.
f16 (half) is specified as an interchange - not arithmetic - format,
and is expected to be promoted to single-precision for arithmetic
operations.
While there, teach the legalizer about promoting some of the (mostly
floating-point) operations that we never needed before.
Differential Revision: http://reviews.llvm.org/D8648
See related discussion on the thread for: http://reviews.llvm.org/D8755
llvm-svn: 234550
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions

