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
..
2021-11-17 11:51:29 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-10-15 12:42:25 -04:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-25 12:34:39 -06:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-06-30 23:07:39 +01:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-10-07 13:54:28 -07:00
2021-11-17 11:51:29 +00:00
2021-11-17 11:51:29 +00:00
2021-11-17 11:51:29 +00:00
2021-11-17 11:51:29 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-29 22:56:09 +00:00
2021-11-07 15:06:54 +00:00
2021-11-17 11:51:29 +00:00
2021-11-29 22:56:09 +00:00
2021-11-07 15:06:54 +00:00
2021-11-17 11:51:29 +00:00
2021-11-17 11:51:29 +00:00
2021-11-07 15:06:54 +00:00
2021-11-29 23:37:20 +00:00
2021-06-30 16:54:13 -04:00
2021-11-17 11:51:29 +00:00
2022-03-17 14:26:15 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-17 11:51:29 +00:00
2021-11-17 11:51:29 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-11-17 11:51:29 +00:00
2021-11-17 11:51:29 +00:00
2021-06-30 16:54:13 -04:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-06-30 16:54:13 -04:00
2021-11-07 15:06:54 +00:00
2021-06-21 09:17:54 -07:00
2021-06-30 16:54:13 -04:00
2021-11-07 15:06:54 +00:00
2021-11-07 15:06:54 +00:00
2021-06-30 16:54:13 -04:00
2021-11-07 15:06:54 +00:00