John Brawn
75d76e5e95
[ARM] Improve if-conversion for M-class CPUs without branch predictors
...
The current heuristic in isProfitableToIfCvt assumes we have a branch predictor,
and so gives the wrong answer in some cases when we don't. This patch adds a
subtarget feature to indicate that a subtarget has no branch predictor, and
changes the heuristic in isProfitableToiIfCvt when it's present. This gives a
slight overall improvement in a set of embedded benchmarks on Cortex-M4 and
Cortex-M33.
Differential Revision: https://reviews.llvm.org/D34398
llvm-svn: 306547
2017-06-28 14:11:15 +00:00
..
2015-02-27 21:17:42 +00:00
2016-08-23 09:19:22 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-04-16 23:24:18 +00:00
2015-04-16 23:24:18 +00:00
2015-04-16 23:24:18 +00:00
2015-02-27 21:17:42 +00:00
2015-11-19 05:56:52 +00:00
2015-04-23 20:31:26 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-04-16 23:24:18 +00:00
2016-06-23 16:07:10 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2016-02-04 01:27:38 +00:00
2015-03-13 18:20:45 +00:00
2015-02-27 19:29:02 +00:00
2016-05-10 19:17:47 +00:00
2015-03-13 18:20:45 +00:00
2016-05-10 19:17:47 +00:00
2014-05-30 10:09:59 +00:00
2015-04-16 23:24:18 +00:00
2015-02-27 21:17:42 +00:00
2015-03-13 18:20:45 +00:00
2015-04-16 23:24:18 +00:00
2016-08-23 09:19:22 +00:00
2015-04-23 20:31:30 +00:00
2015-02-27 21:17:42 +00:00
2015-11-19 05:56:52 +00:00
2015-02-27 21:17:42 +00:00
2015-03-19 22:48:57 +00:00
2015-07-21 00:18:59 +00:00
2016-01-26 00:03:25 +00:00
2016-08-23 09:19:22 +00:00
2015-02-27 21:17:42 +00:00
2014-04-03 23:47:24 +00:00
2016-07-05 12:37:13 +00:00
2014-05-30 10:09:59 +00:00
2016-01-28 18:59:04 +00:00
2017-01-31 23:48:32 +00:00
2015-05-31 19:22:07 +00:00
2015-02-27 21:17:42 +00:00
2017-06-28 07:07:03 +00:00
2015-06-17 20:52:32 +00:00
2014-10-01 09:02:17 +00:00
2015-09-30 10:56:37 +00:00
2015-02-27 21:17:42 +00:00
2015-04-09 14:07:28 +00:00
2016-04-11 22:27:40 +00:00
2017-02-13 12:32:47 +00:00
2017-01-13 16:25:33 +00:00
2017-01-13 16:25:33 +00:00
2016-12-15 09:38:59 +00:00
2016-10-11 21:14:03 +00:00
2015-02-27 21:17:42 +00:00
2017-01-31 23:48:32 +00:00
2017-06-22 12:11:38 +00:00
2017-06-28 14:11:15 +00:00
2017-04-10 20:18:21 +00:00
2016-09-02 18:29:26 +00:00
2015-02-27 21:17:42 +00:00
2017-01-13 16:25:33 +00:00
2017-01-31 14:35:01 +00:00
2015-04-16 23:24:18 +00:00
2015-04-23 20:31:26 +00:00
2017-05-16 19:43:56 +00:00
2014-06-09 22:42:55 +00:00
2014-04-03 23:47:24 +00:00
2016-09-09 12:52:24 +00:00
2016-12-23 02:56:07 +00:00
2014-04-03 23:47:24 +00:00
2015-07-17 23:18:26 +00:00
2014-04-10 22:58:43 +00:00
2015-07-16 22:34:20 +00:00
2017-04-10 20:18:21 +00:00
2015-02-27 21:17:42 +00:00
2017-05-30 21:28:57 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-05-30 10:09:59 +00:00
2015-02-27 21:17:42 +00:00
2016-05-10 19:17:47 +00:00
2016-06-24 18:16:36 +00:00
2014-04-03 23:47:24 +00:00
2016-09-09 12:52:24 +00:00
2014-12-15 19:07:53 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2016-05-10 17:57:27 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2015-02-27 21:17:42 +00:00
2016-08-24 21:34:27 +00:00
2017-06-28 07:07:03 +00:00
2015-02-27 21:17:42 +00:00
2016-11-01 13:37:41 +00:00
2016-08-23 09:19:22 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-04 01:19:56 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2015-10-23 17:19:19 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2017-03-09 15:14:32 +00:00
2017-03-09 15:14:32 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2017-03-09 15:14:32 +00:00
2017-03-09 15:14:32 +00:00
2015-09-30 10:56:37 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 19:29:02 +00:00
2015-02-27 19:29:02 +00:00
2015-02-27 19:29:02 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2017-02-17 15:42:44 +00:00
2017-02-17 15:42:44 +00:00
2016-11-01 13:37:41 +00:00
2016-11-01 13:37:41 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2014-04-03 23:47:24 +00:00
2017-02-17 15:42:44 +00:00
2017-02-17 15:42:44 +00:00
2015-02-27 21:17:42 +00:00
2016-06-16 16:09:53 +00:00
2015-04-23 20:31:26 +00:00
2015-09-30 10:56:37 +00:00
2015-02-27 21:17:42 +00:00
2015-09-01 01:42:16 +00:00
2017-01-31 23:48:32 +00:00
2017-05-15 23:13:35 +00:00