[PATCH] [X86] Updates to X86 backend for f16 promotion

Pirama Arumuga Nainar pirama at google.com
Fri Apr 17 16:48:42 PDT 2015


Hi ab, srhines, delena,

r235215 adds support for f16 to be considered as a load/store type and
promote f16 operations to f32.

This patch has miscellaneous fixes for the X86 backend so all f16
operations are handled:
1. Set loadextaction for f16 vectors to expand.
2. Handle FP_EXTEND in a switch statement when handling v2f32
3. Do not fold (FP_TO_SINT (load f16)) into FP_TO_INT*_IN_MEM or
(store (SINT_TO_FP )) to a FILD.

Tests included.

http://reviews.llvm.org/D9092

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/half.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9092.23977.patch
Type: text/x-patch
Size: 4795 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150417/4ec38d51/attachment.bin>


More information about the llvm-commits mailing list