commit | 3583d2301879d50e3ed018f4dc48a03b7bbbb205 | [log] [tgz] |
---|---|---|
author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | Fri Feb 20 19:37:14 2015 +0000 |
committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | Fri Feb 20 19:37:14 2015 +0000 |
tree | b169d77fa55274d211f91f890fdddb04737b8012 | |
parent | 936cf6a3ae529d6ebfed0579548cdc1ac3e71009 [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230043 91177308-0d34-0410-b5e6-96231b3b80d8