Jeremy Morse
12a2f7494e
[DebugInfo][InstrRef] Prefer stack locations for variables
...
This patch adjusts what location is picked for a known variable value --
preferring to leave locations on the stack, even when a value is re-loaded
into a register. The benefit is reduced location list entropy, on a
clang-3.4 build I found that .debug_loclists reduces in size by 6%, from
29Mb down to 27Mb.
Testing: a few tests need the stack slot to be written to explicitly, to
force LiveDebugValues into restoring the variable location to a register.
I've added an explicit test for the desired behaviour in
livedebugvalues_recover_clobbers.mir .
Differential Revision: https://reviews.llvm.org/D120732
2022-03-17 14:26:15 +00:00
..
2022-02-24 15:32:08 +00:00
2021-12-24 00:47:04 +02:00
2021-10-18 21:29:46 +01:00
2021-12-24 00:47:04 +02:00
2022-03-17 14:26:15 +00:00
2022-03-01 00:41:29 +00:00
2021-10-31 09:49:10 -04:00
2021-06-30 23:07:39 +01:00
2022-03-17 14:26:15 +00:00
2022-01-04 15:16:36 -05:00
2022-02-14 13:23:22 -08:00
2021-07-15 10:26:21 -07:00
2021-12-24 00:47:04 +02:00
2021-05-24 19:43:40 +02:00
2021-06-30 23:07:39 +01:00
2021-03-23 14:17:12 +01:00
2022-01-27 16:09:19 -06:00
2021-05-26 11:43:59 -07:00
2022-03-17 14:26:15 +00:00
2021-11-14 20:19:47 -08:00
2019-01-31 14:11:17 +00:00
2021-12-24 00:47:04 +02:00
2021-11-05 11:25:17 -07:00
2020-05-28 13:46:41 +05:30
2020-07-28 09:09:13 -07:00
2019-01-31 14:11:17 +00:00
2021-04-16 13:02:14 +01:00
2020-02-20 09:12:05 +07:00
2021-11-08 12:39:50 -06:00
2020-11-16 20:39:46 -08:00
2020-11-16 20:39:46 -08:00
2021-05-14 14:06:13 +02:00
2021-02-18 23:29:22 -08:00
2020-06-26 14:55:02 -07:00
2021-08-30 12:33:03 -07:00
2021-04-16 13:02:14 +01:00
2018-12-21 22:25:01 +00:00
2019-12-03 08:54:12 +05:30
2020-03-03 09:56:45 +05:30
2020-06-22 13:11:55 +03:00
2019-04-03 17:13:45 +00:00
2020-05-15 23:30:05 +05:30
2020-05-15 23:30:05 +05:30
2020-10-07 14:27:19 -07:00
2020-04-09 20:53:58 -07:00
2020-04-09 20:53:58 -07:00
2019-06-19 13:51:29 +00:00
2020-06-12 12:40:02 -07:00
2022-02-09 09:11:34 -06:00
2020-06-02 17:55:31 +07:00
2020-05-15 23:14:56 +05:30
2022-01-05 20:36:04 -08:00
2020-06-02 17:55:30 +07:00
2021-04-16 13:02:14 +01:00
2022-01-26 11:56:57 -05:00
2020-05-28 13:46:41 +05:30
2021-03-30 09:16:55 +05:30
2020-05-28 13:46:41 +05:30
2020-05-28 13:46:41 +05:30
2020-05-28 18:01:38 +05:30
2019-01-31 14:11:17 +00:00
2019-01-31 14:11:17 +00:00
2021-03-09 09:26:58 +01:00
2021-03-09 14:20:27 +04:00
2020-01-21 17:20:18 -08:00
2021-06-24 09:46:38 +01:00
2021-01-09 17:44:12 -08:00
2021-04-16 13:02:14 +01:00
2021-11-09 10:35:58 -08:00
2020-01-21 17:20:18 -08:00
2020-09-04 10:40:35 -04:00
2021-07-15 12:54:51 +01:00
2021-10-18 12:01:12 +01:00
2021-10-15 17:34:21 +01:00
2021-07-15 12:54:51 +01:00
2020-05-08 11:10:25 -07:00
2021-04-16 13:02:14 +01:00
2019-02-06 10:13:14 +00:00
2019-02-06 10:13:14 +00:00
2020-11-09 13:00:50 +03:00
2020-11-09 13:00:50 +03:00
2021-10-16 13:32:17 +02:00
2019-05-06 19:12:25 +00:00
2019-02-11 18:05:48 +00:00
2019-02-01 21:14:21 +00:00
2019-01-31 14:22:50 +00:00
2019-12-09 12:24:23 +00:00
2020-10-21 15:21:44 -07:00
2019-01-31 14:17:33 +00:00
2021-01-29 07:16:30 -05:00
2019-02-06 10:13:14 +00:00
2020-01-29 14:26:50 -05:00
2019-02-06 10:13:14 +00:00
2019-02-01 10:24:55 +00:00
2019-02-01 10:24:55 +00:00
2019-02-06 10:13:14 +00:00
2019-01-31 14:11:17 +00:00
2019-02-01 10:24:55 +00:00
2019-02-01 10:24:55 +00:00
2019-02-01 10:24:55 +00:00
2020-06-02 17:55:31 +07:00
2021-11-12 15:44:58 -08:00