Sanjay Patel
8652c53d29
[DAG] propagate FMF for all FPMathOperators
...
This is a simple hack based on what's proposed in D37686, but we can extend it if needed in follow-ups.
It gets us most of the FMF functionality that we want without adding any state bits to the flags. It
also intentionally leaves out non-FMF flags (nsw, etc) to minimize the patch.
It should provide a superset of the functionality from D46563 - the extra tests show propagation and
codegen diffs for fcmp, vecreduce, and FP libcalls.
The PPC log2() test shows the limits of this most basic approach - we only applied 'afn' to the last
node created for the call. AFAIK, there aren't any libcall optimizations based on the flags currently,
so that shouldn't make any difference.
Differential Revision: https://reviews.llvm.org/D46854
llvm-svn: 332358
2018-05-15 14:16:24 +00:00
..
2018-03-20 18:49:28 +00:00
2017-12-14 10:02:58 +00:00
2018-01-19 17:13:12 +00:00
2018-01-19 17:13:12 +00:00
2018-01-31 22:04:26 +00:00
2018-01-19 17:13:12 +00:00
2018-01-31 22:04:26 +00:00
2018-01-31 22:04:26 +00:00
2018-03-19 18:50:02 +00:00
2018-01-31 22:04:26 +00:00
2018-03-27 16:44:41 +00:00
2018-01-12 14:58:41 +00:00
2017-12-15 07:27:53 +00:00
2018-03-14 21:52:13 +00:00
2017-12-20 05:18:19 +00:00
2018-01-30 16:17:22 +00:00
2018-01-30 16:17:22 +00:00
2018-03-14 21:52:13 +00:00
2018-01-31 22:04:26 +00:00
2018-01-31 22:04:26 +00:00
2018-04-25 18:58:06 +00:00
2018-01-19 17:13:12 +00:00
2018-02-05 12:25:29 +00:00
2018-05-09 02:40:45 +00:00
2018-05-09 02:40:45 +00:00
2018-05-09 02:40:45 +00:00
2017-12-30 08:09:04 +00:00
2018-01-19 17:13:12 +00:00
2018-02-28 17:48:55 +00:00
2017-12-11 20:42:37 +00:00
2017-12-11 20:42:37 +00:00
2018-01-31 22:04:26 +00:00
2018-01-31 22:04:26 +00:00
2018-01-31 22:04:26 +00:00
2018-01-31 22:04:26 +00:00
2018-01-31 22:04:26 +00:00
2018-01-31 22:04:26 +00:00
2018-01-31 22:04:26 +00:00
2018-01-31 22:04:26 +00:00
2018-01-31 22:04:26 +00:00
2018-01-31 22:04:26 +00:00
2017-12-11 20:42:37 +00:00
2018-03-23 15:28:15 +00:00
2018-03-26 17:46:25 +00:00
2018-04-18 20:22:26 +00:00
2018-04-04 16:43:50 +00:00
2018-05-08 18:52:06 +00:00
2017-12-18 19:21:56 +00:00
2018-02-20 15:09:45 +00:00
2018-02-27 16:59:10 +00:00
2018-05-15 14:16:24 +00:00
2018-01-31 22:04:26 +00:00
2018-04-20 15:07:55 +00:00
2018-04-20 15:07:55 +00:00
2018-01-19 17:13:12 +00:00
2018-01-19 17:13:12 +00:00
2018-04-15 16:43:48 +00:00
2018-04-20 15:07:55 +00:00
2018-01-19 17:13:12 +00:00
2018-02-27 16:59:10 +00:00
2018-01-19 17:13:12 +00:00
2018-02-27 16:59:10 +00:00
2018-01-31 09:26:51 +00:00
2018-01-31 22:04:26 +00:00
2018-01-31 09:26:51 +00:00
2018-03-23 15:28:15 +00:00
2018-01-19 17:13:12 +00:00
2018-02-16 23:02:28 +00:00
2018-02-27 16:59:10 +00:00
2018-03-19 13:37:04 +00:00
2018-01-19 17:13:12 +00:00
2018-01-19 17:13:12 +00:00
2018-01-19 17:13:12 +00:00
2018-01-19 17:13:12 +00:00
2018-01-19 17:13:12 +00:00
2018-01-19 17:13:12 +00:00
2018-05-02 22:56:04 +00:00
2018-04-17 13:07:01 +00:00
2018-04-20 15:07:55 +00:00
2018-01-31 22:04:26 +00:00
2018-01-09 03:03:41 +00:00
2018-03-05 19:27:16 +00:00
2018-02-26 15:23:42 +00:00
2018-02-27 16:59:10 +00:00
2018-01-31 22:04:26 +00:00
2018-03-27 17:51:53 +00:00
2018-03-27 11:23:53 +00:00
2018-01-26 08:15:29 +00:00
2018-01-31 09:26:51 +00:00
2018-03-23 15:28:15 +00:00
2018-04-21 09:32:17 +00:00
2017-12-30 08:09:04 +00:00
2018-01-19 17:13:12 +00:00
2018-01-12 13:12:49 +00:00
2018-04-07 10:57:03 +00:00
2018-05-09 02:40:45 +00:00
2018-05-09 02:40:45 +00:00
2018-01-19 17:13:12 +00:00
2018-03-10 16:14:05 +00:00
2018-02-23 23:08:34 +00:00
2018-03-15 17:49:12 +00:00
2017-12-29 12:22:27 +00:00
2018-02-01 21:09:04 +00:00
2018-02-22 03:02:41 +00:00
2018-01-17 22:04:36 +00:00
2018-03-10 16:14:05 +00:00
2018-01-31 22:04:26 +00:00
2018-01-19 17:13:12 +00:00
2018-01-19 17:13:12 +00:00
2018-03-05 19:27:16 +00:00
2018-01-31 22:04:26 +00:00
2018-01-31 09:26:51 +00:00
2017-12-18 19:21:56 +00:00
2017-12-15 07:27:53 +00:00
2018-05-08 17:36:40 +00:00
2017-12-12 12:09:34 +00:00
2018-01-19 17:13:12 +00:00
2018-01-19 17:13:12 +00:00
2018-01-19 17:13:12 +00:00
2018-02-27 16:59:10 +00:00
2018-01-19 17:13:12 +00:00
2018-05-02 23:55:23 +00:00
2017-12-12 12:09:34 +00:00
2017-12-11 14:35:48 +00:00
2017-12-12 12:09:34 +00:00
2017-12-12 12:09:34 +00:00
2017-12-11 14:35:48 +00:00
2017-12-12 12:09:34 +00:00
2018-01-12 13:12:49 +00:00
2018-01-31 22:04:26 +00:00
2018-01-31 22:04:26 +00:00
2018-03-15 15:34:41 +00:00
2018-01-19 17:13:12 +00:00
2018-04-09 08:16:11 +00:00
2017-12-21 15:42:50 +00:00
2018-03-14 21:52:13 +00:00
2017-12-15 07:27:53 +00:00
2018-05-09 02:40:45 +00:00
2017-12-22 17:18:13 +00:00
2018-03-01 22:32:25 +00:00
2018-04-06 05:41:16 +00:00
2018-03-26 17:39:18 +00:00