Jeremy Morse
d2d9dc8eb4
[DebugInfo][RemoveDIs] Make debugify pass convert to/from RemoveDIs mode ( #73251 )
...
Debugify is extremely useful as a testing and debugging tool, and a good
number of LLVM-IR transform tests use it. We need it to support "new"
non-instruction debug-info to get test coverage, but it's not important
enough to completely convert right now (and it'd be a large
undertaking). Thus: convert to/from dbg.value/DPValue mode on entry and
exit of the pass, which gives us the functionality without any further
work. The cost is compile-time, but again this is only happening during
tests.
Tested by: the large set of debugify tests enabled here. Note the
InstCombine test (cast-mul-select.ll) that hasn't been fully enabled:
this is because there's a debug-info sinking piece of code there that
hasn't been instrumented.
2023-11-29 13:19:50 +00:00
..
2022-11-01 17:13:31 +01:00
2023-08-11 11:06:07 +00:00
2023-10-30 15:07:22 -07:00
2023-08-29 14:48:33 +02:00
2021-11-27 09:52:55 +01:00
2022-11-01 17:13:31 +01:00
2022-11-01 17:13:31 +01:00
2023-08-11 11:06:07 +00:00
2022-11-01 17:13:31 +01:00
2021-11-27 09:52:55 +01:00
2022-11-01 17:13:31 +01:00
2022-09-15 13:54:52 -04:00
2022-11-01 17:13:31 +01:00
2022-11-01 17:13:31 +01:00
2023-01-27 14:09:26 +00:00
2022-09-07 11:56:29 -04:00
2021-11-27 09:52:55 +01:00
2022-12-08 02:38:50 +03:00
2021-11-27 09:52:55 +01:00
2023-01-27 14:09:26 +00:00
2023-01-27 14:09:26 +00:00
2021-11-27 09:52:55 +01:00
2023-08-07 22:06:27 +08:00
2022-11-01 17:13:31 +01:00
2021-11-27 09:52:55 +01:00
2022-11-01 17:13:31 +01:00
2022-09-07 11:56:29 -04:00
2021-11-27 09:52:55 +01:00
2023-11-16 14:05:28 +08:00
2021-11-27 09:52:55 +01:00
2021-11-27 09:52:55 +01:00
2023-06-05 11:47:36 +02:00
2022-11-01 17:13:31 +01:00
2022-11-01 17:13:31 +01:00
2023-06-19 12:29:44 +02:00
2023-03-14 09:41:56 +01:00
2023-01-30 20:15:28 +00:00
2023-01-30 20:15:28 +00:00
2023-11-14 10:18:23 +08:00
2023-01-27 14:09:26 +00:00
2023-01-27 14:09:26 +00:00
2023-10-30 15:07:22 -07:00
2023-11-29 13:19:50 +00:00
2023-11-20 20:53:24 +00:00
2023-02-21 14:38:30 +01:00
2023-06-08 17:44:47 +01:00
2023-11-14 10:18:23 +08:00
2022-11-01 17:13:31 +01:00
2023-11-29 13:19:50 +00:00
2022-11-01 17:13:31 +01:00
2023-07-12 14:35:55 +02:00
2022-11-01 17:13:31 +01:00
2023-06-18 23:14:20 +08:00
2021-11-27 09:52:55 +01:00
2021-11-27 09:52:55 +01:00
2021-11-27 09:52:55 +01:00
2023-10-24 06:22:18 +01:00
2021-11-27 09:52:55 +01:00
2021-11-27 09:52:55 +01:00
2022-11-01 17:13:31 +01:00
2022-11-01 17:13:31 +01:00
2022-11-01 17:13:31 +01:00
2022-05-17 22:06:03 +00:00
2023-10-30 15:07:22 -07:00
2022-12-08 02:38:50 +03:00
2022-11-04 10:21:38 +01:00
2022-11-01 17:13:31 +01:00
2022-11-01 17:13:31 +01:00
2023-06-19 14:15:01 +08:00
2023-01-27 14:09:26 +00:00
2023-01-27 14:09:26 +00:00
2022-06-30 09:25:03 +02:00
2021-11-27 09:52:55 +01:00
2023-01-30 20:15:28 +00:00
2021-11-27 09:52:55 +01:00
2023-01-27 16:02:29 +00:00
2022-11-01 17:13:31 +01:00
2023-01-30 20:15:28 +00:00
2023-11-03 10:46:07 +01:00
2021-11-27 09:52:55 +01:00
2022-11-01 17:13:31 +01:00
2023-08-11 11:06:07 +00:00
2023-10-30 15:07:22 -07:00
2022-12-08 02:38:50 +03:00