Constants.cpp: getElementAsAPFloat(): Don't handle constant value via host's float...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 20 Feb 2015 14:24:49 +0000 (14:24 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 20 Feb 2015 14:24:49 +0000 (14:24 +0000)
commite86b9b76c5dea40881538fe32ea1e29a276ced7c
treeca56f09d53f4785eb83f31aad10359f0097a69f2
parent6f66545ae61572d47576060cae77cdf5545c4529
Constants.cpp: getElementAsAPFloat(): Don't handle constant value via host's float/double, just handle with APInt/APFloat.

x87 FPU didn't keep SNAN, but demoted to QNAN.

llvm-svn: 230013
llvm/lib/IR/Constants.cpp