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-27 11:19:28 -05:00
2022-12-08 02:38:45 +03:00
2022-11-27 12:41:28 -05:00
2022-11-27 12:41:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2021-04-12 17:51:21 -07:00
2023-11-29 13:19:50 +00:00
2022-11-27 12:41:28 -05:00
2022-11-27 11:19:28 -05:00
2023-08-25 09:20:18 +02:00
2023-10-28 17:10:20 +08:00
2022-11-27 11:19:28 -05:00
2022-11-27 12:41:28 -05:00
2022-11-27 11:19:28 -05:00
2023-11-03 10:46:07 +01:00
2022-11-27 11:19:28 -05:00
2022-11-27 12:41:28 -05:00
2022-11-27 12:41:28 -05:00
2022-11-27 12:41:28 -05:00
2022-11-27 12:41:28 -05:00
2022-11-27 12:41:28 -05:00
2023-07-07 09:49:38 -04:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2023-11-26 21:24:29 +00:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2023-09-04 11:50:14 +08:00
2022-11-27 11:19:28 -05:00
2022-11-27 12:41:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2023-08-22 10:59:02 -05:00
2022-12-21 21:43:55 +08:00
2022-11-27 12:41:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2023-05-24 10:54:10 +02:00
2023-05-31 10:47:15 +02:00
2023-10-31 10:20:07 +01:00
2022-11-27 11:19:28 -05:00
2022-11-27 12:41:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2023-11-23 17:07:10 +00:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2023-02-16 16:08:34 +07:00
2023-09-02 10:22:09 -04:00
2022-11-27 12:41:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2023-11-23 17:07:10 +00:00
2023-03-23 19:31:55 +08:00
2022-11-27 11:19:28 -05:00
2023-02-16 16:08:34 +07:00
2023-02-16 16:08:34 +07:00
2023-02-16 16:08:34 +07:00
2023-02-16 16:08:34 +07:00
2023-02-16 16:08:34 +07:00
2023-10-24 20:27:39 -07:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2022-11-27 11:19:28 -05:00
2023-02-16 16:08:34 +07:00
2023-02-16 16:08:34 +07:00
2023-02-16 16:08:34 +07:00
2022-11-27 11:19:28 -05:00
2023-10-24 20:27:39 -07:00