Sanjay Patel
149f5b573c
[APFloat] convert SNaN to QNaN in convert() and raise Invalid signal
...
This is an alternate fix (see D87835) for a bug where a NaN constant
gets wrongly transformed into Infinity via truncation.
In this patch, we uniformly convert any SNaN to QNaN while raising
'invalid op'.
But we don't have a way to directly specify a 32-bit SNaN value in LLVM IR,
so those are always encoded/decoded by calling convert from/to 64-bit hex.
See D88664 for a clang fix needed to allow this change.
Differential Revision: https://reviews.llvm.org/D88238
2020-10-01 14:37:38 -04:00
..
2020-05-02 11:05:19 +02:00
2020-10-01 14:37:38 -04:00
2020-09-29 10:31:04 +02:00
2020-09-29 10:31:04 +02:00
2020-09-15 11:19:08 +01:00
2020-06-16 10:32:15 +01:00
2020-09-02 21:34:29 -07:00
2020-09-11 17:23:08 -07:00
2020-03-31 13:08:59 -07:00
2020-09-22 21:37:30 +03:00
2020-09-29 15:01:16 +01:00
2020-07-01 11:56:12 -07:00
2020-09-26 17:32:57 -06:00
2020-08-28 14:43:53 +01:00
2020-09-24 15:00:04 -07:00
2020-08-28 21:14:20 +02:00
2020-07-01 16:38:51 +01:00
2020-08-24 13:54:03 +00:00
2020-08-22 10:13:40 +05:30
2020-08-21 17:23:08 -07:00
2020-06-26 09:58:21 +01:00
2020-09-30 18:08:45 +08:00
2020-08-14 00:09:15 +01:00
2020-08-31 16:01:19 -04:00
2020-08-28 14:43:53 +01:00
2020-08-28 14:43:53 +01:00
2020-09-12 15:36:06 +02:00
2020-07-27 14:51:28 +01:00
2020-10-01 17:39:13 +00:00
2020-06-03 15:00:24 -07:00
2020-08-07 11:36:30 -07:00
2020-08-22 10:13:40 +05:30
2020-07-16 13:50:49 -04:00
2020-03-28 21:19:46 +01:00
2020-05-28 19:38:46 +02:00
2020-06-01 10:29:23 -07:00
2020-07-31 10:54:02 -07:00
2020-06-26 09:58:21 +01:00
2020-04-26 12:58:20 +01:00
2020-07-30 10:07:57 -07:00
2020-07-24 13:02:33 +01:00
2020-04-26 12:58:20 +01:00
2020-08-21 16:10:42 +07:00
2020-09-21 16:54:26 +01:00
2020-06-26 09:58:21 +01:00
2020-06-03 20:00:52 -07:00
2020-08-28 07:56:35 +02:00
2020-08-28 14:43:53 +01:00
2020-07-21 12:15:12 +01:00
2020-07-29 10:02:04 +08:00
2020-09-24 09:57:28 -04:00
2020-04-12 16:37:17 -07:00
2020-09-25 12:04:46 -07:00