Florian Hahn
1ccc49924a
[AArch64] Add getCFInstrCost, treat branches as free for throughput.
...
D79164/2596da31740f changed getCFInstrCost to return 1 per default.
AArch64 did not have its own implementation, hence the throughput cost
of CFI instructions is overestimated. On most cores, most branches should
be predicated and essentially free throughput wise.
This restores a 9% performance regression on a SPEC2006 benchmark on
AArch64 with -O3 LTO & PGO.
This patch effectively restores pre 2596da3174 behavior for AArch64
and undoes the AArch64 test changes of the patch.
Reviewers: samparker, dmgreen, anemet
Reviewed By: samparker
Differential Revision: https://reviews.llvm.org/D82755
2020-06-30 20:34:04 +01:00
..
2020-06-30 20:34:04 +01:00
2019-04-17 04:52:47 +00:00
2020-06-17 13:12:15 +01:00
2020-05-13 13:50:09 +01:00
2020-06-26 20:41:37 -07:00
2020-06-15 09:28:46 +01:00
2020-06-26 20:55:44 -07:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2020-06-14 20:55:59 +01:00
2019-04-17 04:52:47 +00:00
2020-01-16 10:11:35 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2020-06-26 20:41:37 -07:00
2019-04-17 04:52:47 +00:00
2020-01-20 18:36:28 +07:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-12-24 16:27:51 -08:00
2019-04-17 04:52:47 +00:00
2020-04-06 09:59:08 -06:00
2019-04-17 04:52:47 +00:00
2019-12-24 15:57:33 -08:00
2019-12-24 15:57:33 -08:00
2019-12-24 15:57:33 -08:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2020-04-20 11:55:49 -07:00
2020-04-20 11:55:49 -07:00
2020-05-13 13:50:09 +01:00
2020-05-13 13:50:09 +01:00
2019-11-24 21:21:55 +00:00
2020-01-28 08:28:03 -08:00
2019-06-19 10:50:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2020-05-24 17:16:42 +01:00
2019-04-17 04:52:47 +00:00
2019-05-30 18:19:35 +00:00
2020-04-06 09:59:08 -06:00
2019-04-17 04:52:47 +00:00
2020-06-26 20:41:37 -07:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-09-09 20:54:13 +00:00
2019-04-17 04:52:47 +00:00
2020-04-29 11:40:39 +01:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-12-02 18:06:15 +03:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2020-05-13 13:50:09 +01:00
2020-05-13 13:50:09 +01:00
2019-12-24 15:57:33 -08:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2020-02-03 09:08:36 -05:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-11-09 20:52:25 +02:00
2020-05-26 14:49:17 -04:00
2019-04-17 04:52:47 +00:00
2020-05-26 19:24:58 +07:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-05-30 05:03:12 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-22 09:53:26 +00:00
2020-05-25 11:24:33 +03:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-12-24 16:27:51 -08:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-05-24 16:46:09 +00:00
2019-04-17 04:52:47 +00:00
2020-06-26 20:41:37 -07:00
2020-05-14 13:03:50 -07:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-12-20 14:48:53 +02:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2020-06-26 20:41:37 -07:00
2020-06-26 20:41:37 -07:00
2019-08-06 06:08:48 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-06-17 17:20:08 +00:00
2020-04-24 17:22:24 +07:00
2019-04-17 04:52:47 +00:00
2019-12-20 14:48:53 +02:00
2019-04-25 04:49:48 +00:00
2020-04-18 23:54:21 +03:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-07-07 22:12:01 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2020-05-13 13:50:09 +01:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-05-08 18:50:07 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-09-03 09:33:55 +00:00
2020-05-13 13:50:09 +01:00
2020-03-30 10:14:14 -07:00
2020-04-15 10:39:07 +03:00
2020-06-09 18:30:56 +00:00
2019-04-17 04:52:47 +00:00
2020-06-26 20:41:37 -07:00
2019-04-17 04:52:47 +00:00
2019-06-12 13:15:59 +00:00
2020-03-03 10:54:00 +00:00
2020-01-27 16:53:20 -08:00
2019-12-20 14:48:53 +02:00
2019-12-20 14:48:53 +02:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2020-06-26 20:41:37 -07:00
2020-05-13 13:50:09 +01:00
2019-12-24 15:57:33 -08:00
2019-04-17 04:52:47 +00:00
2020-06-26 20:55:44 -07:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-12-24 15:57:33 -08:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2020-06-26 20:41:37 -07:00
2019-04-17 04:52:47 +00:00
2020-04-26 20:13:10 +03:00
2020-06-09 18:30:56 +00:00
2020-06-26 20:41:37 -07:00
2020-01-20 18:36:28 +07:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-06-19 10:50:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2020-05-13 13:50:09 +01:00
2019-12-24 16:27:51 -08:00
2020-04-30 15:47:21 -04:00
2020-06-26 20:41:37 -07:00
2019-04-17 04:52:47 +00:00
2020-06-12 10:31:18 +01:00
2019-04-17 04:52:47 +00:00
2019-06-12 13:15:59 +00:00
2019-04-17 04:52:47 +00:00