Dan Gohman
cdd48b8a6b
[WebAssembly] Fix trapping behavior in fptosi/fptoui.
...
This adds code to protect WebAssembly's `trunc_s` family of opcodes
from values outside their domain. Even though such conversions have
full undefined behavior in C/C++, LLVM IR's `fptosi` and `fptoui` do
not, and only return undef.
This also implements the proposed non-trapping float-to-int conversion
feature and uses that instead when available.
llvm-svn: 319128
2017-11-28 01:13:40 +00:00
..
2017-02-28 23:37:04 +00:00
2017-06-16 23:59:10 +00:00
2017-08-24 19:53:44 +00:00
2017-11-15 21:38:33 +00:00
2017-02-24 23:18:00 +00:00
2017-11-14 14:26:42 +00:00
2017-02-24 23:18:00 +00:00
2017-02-24 23:18:00 +00:00
2017-02-24 23:18:00 +00:00
2017-02-24 23:18:00 +00:00
2017-11-28 01:13:40 +00:00
2017-11-28 01:13:40 +00:00
2017-02-24 23:18:00 +00:00
2017-02-28 23:37:04 +00:00
2017-08-30 18:06:51 +00:00
2017-02-24 23:18:00 +00:00
2017-02-24 23:18:00 +00:00
2017-06-30 00:43:15 +00:00
2017-02-24 21:05:35 +00:00
2017-02-24 23:18:00 +00:00
2017-02-24 23:18:00 +00:00
2017-02-24 23:18:00 +00:00
2017-02-28 23:37:04 +00:00
2017-02-28 23:37:04 +00:00
2017-02-28 23:37:04 +00:00
2017-10-10 16:20:18 +00:00
2017-02-28 23:37:04 +00:00
2017-02-24 23:18:00 +00:00
2017-10-05 21:18:42 +00:00
2017-02-24 23:18:00 +00:00
2017-10-05 21:18:42 +00:00
2017-02-24 23:18:00 +00:00
2017-02-24 23:18:00 +00:00
2017-02-24 23:18:00 +00:00
2017-02-24 23:18:00 +00:00
2017-02-24 23:18:00 +00:00
2017-07-15 15:44:36 +00:00
2017-11-08 19:37:24 +00:00
2017-11-08 19:18:08 +00:00
2017-02-28 23:37:04 +00:00
2017-02-28 23:37:04 +00:00
2017-10-05 21:18:42 +00:00
2017-02-28 23:37:04 +00:00
2017-02-28 23:37:04 +00:00
2017-02-24 23:18:00 +00:00
2017-02-24 23:18:00 +00:00
2017-02-24 23:18:00 +00:00
2017-02-24 23:18:00 +00:00
2017-02-24 23:18:00 +00:00
2017-02-28 23:37:04 +00:00
2017-02-28 23:37:04 +00:00
2017-05-29 16:32:52 +00:00
2017-02-24 23:18:00 +00:00
2017-10-05 21:18:42 +00:00
2017-06-22 21:26:08 +00:00
2017-02-24 23:18:00 +00:00
2017-02-28 23:37:04 +00:00
2017-02-28 23:37:04 +00:00
2017-08-16 00:49:44 +00:00
2017-02-28 23:37:04 +00:00
2017-02-28 23:37:04 +00:00
2017-04-17 21:40:28 +00:00
2017-02-28 23:37:04 +00:00
2017-11-08 19:24:21 +00:00
2017-09-13 00:29:06 +00:00
2017-02-28 23:37:04 +00:00
2017-02-28 23:37:04 +00:00
2017-06-16 23:59:10 +00:00
2017-02-28 23:37:04 +00:00
2017-02-24 23:18:00 +00:00
2017-02-24 23:18:00 +00:00
2017-11-10 16:26:04 +00:00
2017-02-24 23:18:00 +00:00
2017-02-28 23:37:04 +00:00
2017-02-28 23:37:04 +00:00
2017-07-19 04:15:30 +00:00
2017-02-28 23:37:04 +00:00
2017-02-28 23:37:04 +00:00