| commit | a37a2fc81f942ef044ea08430e3405bc23ece5c2 | [log] [tgz] | 
|---|---|---|
| author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | Thu Jul 03 21:51:06 2014 +0000 | 
| committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | Thu Jul 03 21:51:06 2014 +0000 | 
| tree | c155fb41917f7de9b168dd2124af0fd4da76f3e9 | |
| parent | d0afc22c8b10bfb9be911a87f2d5653e9a6c1507 [diff] | 
[X86] Add ISel patterns to select 'f32_to_f16' and 'f16_to_f32' dag nodes. This patch adds tablegen patterns to select F16C float-to-half-float conversion instructions from 'f32_to_f16' and 'f16_to_f32' dag nodes. If the target doesn't have F16C, then 'f32_to_f16' and 'f16_to_f32' are expanded into library calls. llvm-svn: 212293