HomePhabricator

[X86][FastIsel] Teach how to select float-half conversion intrinsics.

Description

[X86][FastIsel] Teach how to select float-half conversion intrinsics.

This patch teaches X86FastISel how to select intrinsic 'convert_from_fp16' and
intrinsic 'convert_to_fp16'.
If the target has F16C, we can select VCVTPS2PHrr for a float-half conversion,
and VCVTPH2PSrr for a half-float conversion.

Differential Revision: http://reviews.llvm.org/D7673

Details

Committed
adibiagioFeb 20 2015, 11:37 AM
Differential Revision
D7673: [X86][FastISel] Teach how to select float-half conversion intrinsics.
Parents
rL230042: [GC] Style cleanup for RewriteStatepointForGC (1 of many) [NFC]
Branches
Unknown
Tags
Unknown