Dylan Noblesmith 83f17f25fc llvm-stress: stop abusing ConstantFP::get()
ConstantFP::get(Type*, double) is unreliably host-specific:
it can't handle a type like PPC128 on an x86 host. It even
has a comment to that effect: "This should only be used for
simple constant values like 2.0/1.0 etc, that are
known-valid both as host double and as the target format."

Instead, use APFloat. While we're at it, randomize the floating
point value more thoroughly; it was previously limited
to the range 0 to 2**19 - 1.

PR12451.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154446 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-10 22:44:51 +00:00
..
2012-03-23 05:50:46 +00:00
2011-12-22 23:04:07 +00:00
2012-03-11 06:09:17 +00:00
2012-02-06 22:30:29 +00:00
2012-03-30 16:45:19 +00:00
2012-03-01 01:36:50 +00:00
2012-03-01 01:36:50 +00:00