{"push_id":935688750,"size":1,"distinct_size":1,"ref":"refs/heads/swift-2.2-branch","head":"fa5b9056af8a02ab1af22df777b87707422dee5c","before":"4496a2863004ba7f3a43aed1dfad63ded7e387c8","commits":[{"sha":"fa5b9056af8a02ab1af22df777b87707422dee5c","author":{"email":"cdca4787270da064010d22babbd4b763d61bcde5@gmail.com","name":"Ahmed Bougacha"},"message":"[CodeGen] Don't assume fp_to_fp16 produces i16 when legalizing it.\n\nSince r230276, we support an improved legalization for f64->f16,\nwhich goes through a temporary f32, improving codegen when\nf32->f16 is legal but not f64->f16. This requires unsafe-fp-math.\n\nHowever, that legalization assumed that the second step, producing\na pseudo-softened f16, had type i16. That's not true on targets\nwith illegal i16, such as ARM.\n\nUse the initial f64->f16 result type instead.\n\ngit-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257794 91177308-0d34-0410-b5e6-96231b3b80d8\n(cherry picked from commit 51eefd689ed3d8d1996be80381301a6c5bc19c77)\n\nrdar://24188954","distinct":true,"url":"https://api.github.com/repos/apple/swift-llvm/commits/fa5b9056af8a02ab1af22df777b87707422dee5c"}]}