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-01-20 12:57:19 -05:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2022-01-19 19:44:37 -05:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2022-02-11 10:20:10 -08:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2020-11-25 16:13:32 -08:00
2021-05-24 19:43:40 +02:00
2021-11-02 15:06:21 -04:00
2021-11-09 13:18:07 -05:00
2021-11-30 10:43:06 +00:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-11-29 22:56:09 +00:00
2021-11-29 22:56:09 +00:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2022-01-19 19:44:37 -05:00
2021-12-21 19:02:14 -05:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-07-26 22:15:26 +02:00
2021-05-24 19:43:40 +02:00
2022-01-06 14:27:08 -08:00
2021-05-24 19:43:40 +02:00
2021-01-11 08:32:36 -08:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-04 10:51:21 -04:00
2021-05-24 19:43:40 +02:00
2021-12-21 19:02:14 -05:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-04-21 15:29:19 -07:00
2022-03-17 14:26:15 +00:00
2021-12-21 19:02:14 -05:00
2021-05-24 19:43:40 +02:00
2021-11-24 12:30:55 +00:00
2021-05-24 19:43:40 +02:00
2022-01-06 14:27:08 -08:00
2021-05-24 19:43:40 +02:00
2021-12-21 19:02:14 -05:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-11-29 22:56:09 +00:00
2020-10-28 16:35:59 -07:00
2021-05-24 19:43:40 +02:00
2022-01-19 19:44:37 -05:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2022-01-19 19:44:37 -05:00
2021-10-06 16:02:34 -07:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-12-21 19:02:14 -05:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2022-01-25 10:09:06 +02:00