Manman Ren
692d1830f3
Register Allocator: check other options before using a CSR for the first time.
...
When register allocator's stage is RS_Spill, we choose spill over using the CSR
for the first time, if the spill cost is lower than CSRCost.
When register allocator's stage is < RS_Split, we choose pre-splitting over
using the CSR for the first time, if the cost of splitting is lower than
CSRCost.
CSRCost is set with command-line option "regalloc-csr-first-time-cost". The
default value is 0 to generate the same codes as before this commit.
With a value of 15 (1 << 14 is the entry frequency), I measured performance
gain of 3% on 253.perlbmk and 1.7% on 197.parser, with instrumented PGO,
on an arm device.
rdar://16162005
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204690 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-25 00:16:25 +00:00
..
2013-12-10 06:48:35 +00:00
2013-10-31 09:32:11 +00:00
2013-12-12 00:15:47 +00:00
2014-03-11 10:48:52 +00:00
2013-10-28 20:40:20 +00:00
2014-03-10 09:34:07 +00:00
2013-10-31 09:32:11 +00:00
2014-02-13 11:06:23 +00:00
2013-10-31 09:32:11 +00:00
2014-02-16 07:31:05 +00:00
2013-10-09 07:53:57 +00:00
2013-12-24 00:47:29 +00:00
2013-10-09 07:53:57 +00:00
2013-10-29 17:01:29 +00:00
2013-10-31 09:32:11 +00:00
2013-10-31 09:32:11 +00:00
2014-01-10 13:41:49 +00:00
2014-02-13 14:44:26 +00:00
2014-02-13 14:44:26 +00:00
2014-03-21 02:12:48 +00:00
2013-10-31 09:32:11 +00:00
2013-10-31 09:32:11 +00:00
2013-10-31 09:32:11 +00:00
2013-10-31 09:32:11 +00:00
2014-02-13 15:30:06 +00:00
2014-03-21 19:34:41 +00:00
2014-01-14 22:53:22 +00:00
2013-12-03 01:29:32 +00:00
2013-12-25 07:12:34 +00:00
2013-12-10 06:48:35 +00:00
2013-12-09 19:29:14 +00:00
2013-12-11 23:21:25 +00:00
2013-12-09 03:51:42 +00:00
2014-02-13 05:42:33 +00:00
2013-12-12 15:46:29 +00:00
2014-01-08 18:33:04 +00:00
2014-01-23 19:18:57 +00:00
2013-11-14 02:44:13 +00:00
2014-02-10 03:16:22 +00:00
2014-01-07 10:00:03 +00:00
2014-02-03 17:27:49 +00:00
2013-11-29 02:11:22 +00:00
2014-01-21 01:48:52 +00:00
2014-02-04 14:55:42 +00:00
2013-12-24 00:47:29 +00:00
2014-01-26 02:23:33 +00:00
2014-01-17 06:23:30 +00:00
2013-12-09 03:51:42 +00:00
2013-12-03 01:33:52 +00:00
2014-01-17 05:52:35 +00:00
2013-12-12 02:19:13 +00:00
2013-12-18 06:26:04 +00:00
2014-02-13 05:42:33 +00:00
2014-01-13 16:51:00 +00:00
2014-01-13 01:56:29 +00:00
2013-10-16 21:04:34 +00:00
2013-12-12 02:19:13 +00:00
2013-12-12 02:19:13 +00:00
2013-12-12 02:19:13 +00:00
2014-02-04 14:55:42 +00:00
2013-12-30 02:44:35 +00:00
2013-12-10 21:33:56 +00:00
2014-01-26 04:55:53 +00:00
2013-10-18 14:03:24 +00:00
2013-12-10 21:33:59 +00:00
2013-12-10 16:11:39 +00:00
2013-12-23 02:42:10 +00:00
2013-11-21 07:37:04 +00:00
2013-10-16 21:04:39 +00:00
2013-12-11 21:03:43 +00:00
2013-12-09 22:47:38 +00:00
2013-12-12 02:19:13 +00:00
2013-12-12 02:19:13 +00:00
2013-12-12 02:19:13 +00:00
2013-12-12 02:19:13 +00:00
2013-11-29 02:11:22 +00:00
2013-12-25 01:22:51 +00:00
2014-02-14 09:41:15 +00:00
2013-12-30 02:05:13 +00:00
2014-03-17 18:58:01 +00:00
2013-11-22 08:47:22 +00:00
2013-12-25 01:22:51 +00:00
2013-12-05 02:12:01 +00:00
2013-11-18 06:31:53 +00:00
2013-11-19 02:17:05 +00:00
2013-12-03 06:06:55 +00:00
2014-02-26 11:55:09 +00:00
2013-11-22 02:45:13 +00:00
2014-02-13 02:36:58 +00:00
2013-12-09 03:34:08 +00:00
2014-02-14 02:21:56 +00:00
2014-01-07 10:50:43 +00:00
2014-03-07 06:08:31 +00:00
2014-03-25 00:16:25 +00:00
2013-10-24 08:28:24 +00:00
2013-10-29 17:01:29 +00:00
2014-01-15 05:08:01 +00:00
2014-02-18 20:31:05 +00:00
2013-10-09 07:53:57 +00:00
2014-02-20 17:19:26 +00:00