| commit | 84ce0a642eb9b759c3d1a80f715223330eadaaed | [log] [tgz] |
|---|---|---|
| author | Tim Northover <tnorthover@apple.com> | Thu Jul 17 11:12:12 2014 +0000 |
| committer | Tim Northover <tnorthover@apple.com> | Thu Jul 17 11:12:12 2014 +0000 |
| tree | 1fb361ceb7f0e46c39bba89f4f0b0b11e2662d68 | |
| parent | 21310448143b3174931530ddf9f993dd93187957 [diff] |
CodeGen: generate single libcall for fptrunc -> f16 operations. Previously we asserted on this code. Currently compiler-rt doesn't actually implement any of these new libcalls, but external help is pretty much the only viable option for LLVM. I've followed the much more generic "__truncST2" naming, as opposed to the odd name for f32 -> f16 truncation. This can obviously be changed later, or overridden by any targets that need to. llvm-svn: 213252