Teach APFloat how to create both QNaNs and SNaNs and with arbitrary-width
authorJohn McCall <rjmccall@apple.com>
Sun, 28 Feb 2010 02:51:25 +0000 (02:51 +0000)
committerJohn McCall <rjmccall@apple.com>
Sun, 28 Feb 2010 02:51:25 +0000 (02:51 +0000)
commite12b73816b50bbe2cc54b8005d86c95413b4f465
tree167c037c24ea67c3d1d116f1ac9df701eb863a0e
parent6281cda6737bcda0e924318ddcce28392001691e
Teach APFloat how to create both QNaNs and SNaNs and with arbitrary-width
payloads.  APFloat's internal folding routines always make QNaNs now,
instead of sometimes making QNaNs and sometimes SNaNs depending on the
type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97364 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/APFloat.h
include/llvm/ADT/APInt.h
lib/Support/APFloat.cpp
lib/Support/APInt.cpp
test/Transforms/InstCombine/2009-01-19-fmod-constant-float-specials.ll
unittests/ADT/APFloatTest.cpp