Jeremy Morse
087172258a
[DebugInfo][RemoveDIs] Handle non-instr debug-info in GlobalISel ( #75228 )
...
The RemoveDIs project is aiming to eliminate debug intrinsics like
dbg.value and dbg.declare from LLVM, and replace them with DPValue objects
attached to instructions. ISel is one of the "terminals" where that
information needs to be converted into MIR format: this patch implements
support for that in GlobalISel. We aim for the output of LLVM to be
identical with/without RemoveDIs debug-info.
This patch should be NFC, as we're handling the same data about variables
stored in a different format -- it now appears in a DPValue object rather
than as an intrinsic. To that end, I've refactored the handling of
dbg.values into a dedicated function, and call it whenever a dbg.value or a
DPValue is encountered. dbg.declare is handled in a similar way.
Testing: adding the --try-experimental-debuginfo-iterators switch to llc
causes it to try and convert to the "new" debug-info format if it's built
in (LLVM_EXPERIMENTAL_DEBUGINFO_ITERATORS=On), and it'll be covered by our
buildbot. One test has a few extra wildcard-regexes added: this is because
there's some extra data printed about attached debug-info, which is safe to
ignore.
2024-01-23 15:04:08 +00:00
..
2023-08-21 12:25:15 +01:00
2024-01-04 10:15:16 +00:00
2024-01-11 09:50:33 +01:00
2023-02-27 11:24:24 -08:00
2023-02-27 11:24:24 -08:00
2023-04-26 09:18:41 -07:00
2023-12-14 11:02:38 +00:00
2022-12-02 16:19:38 -05:00
2023-11-14 13:00:28 +00:00
2023-12-11 17:55:07 -05:00
2024-01-11 09:50:33 +01:00
2022-05-31 22:39:43 -07:00
2022-12-02 16:19:38 -05:00
2022-12-02 16:19:38 -05:00
2022-12-02 16:19:38 -05:00
2023-12-14 14:58:20 -07:00
2022-12-02 16:19:38 -05:00
2023-12-14 14:58:20 -07:00
2023-02-27 11:24:24 -08:00
2022-07-05 15:23:47 -07:00
2023-10-30 15:01:01 +01:00
2023-02-27 11:24:24 -08:00
2023-02-27 11:24:24 -08:00
2022-12-02 16:19:38 -05:00
2022-12-02 16:19:38 -05:00
2022-12-02 16:19:38 -05:00
2023-02-27 11:24:24 -08:00
2023-09-18 17:18:28 +01:00
2023-02-27 11:24:24 -08:00
2023-01-05 11:12:40 +00:00
2023-11-25 08:35:26 +00:00
2023-07-11 11:27:14 +02:00
2022-10-01 13:48:55 -07:00
2022-09-06 13:45:04 +01:00
2023-09-05 23:48:34 +08:00
2023-08-30 08:07:22 -07:00
2023-09-09 16:32:02 +08:00
2023-09-05 17:33:57 +08:00
2022-05-31 22:39:43 -07:00
2024-01-08 08:37:47 -08:00
2024-01-17 15:21:02 +07:00
2022-10-07 08:37:18 +00:00
2022-05-18 12:08:53 -07:00
2022-05-18 12:08:53 -07:00
2023-09-07 11:58:12 +01:00
2023-09-07 11:58:12 +01:00
2022-10-11 09:52:48 -07:00
2023-07-11 11:27:14 +02:00
2022-09-06 13:45:04 +01:00
2023-09-06 03:14:16 +08:00
2023-07-11 11:27:14 +02:00
2022-01-20 17:02:52 +00:00
2023-09-04 00:28:57 -07:00
2022-09-01 13:34:00 +01:00
2024-01-15 18:20:18 -08:00
2023-11-02 00:18:19 +01:00
2023-01-05 11:12:40 +00:00
2024-01-23 15:04:08 +00:00
2023-02-17 15:05:00 -08:00
2023-09-25 13:40:33 +01:00
2023-01-05 10:15:31 +01:00
2022-07-25 16:03:05 -07:00
2022-10-01 15:16:32 -07:00
2023-08-24 08:10:01 -04:00
2023-10-24 13:51:59 -07:00
2022-12-02 16:19:38 -05:00
2022-01-05 20:02:39 +00:00
2024-01-17 09:33:31 +01:00
2022-12-02 16:19:38 -05:00
2024-01-23 15:04:08 +00:00
2024-01-23 15:04:08 +00:00
2022-12-02 16:19:38 -05:00
2022-12-02 16:19:38 -05:00
2022-07-08 11:55:08 -04:00
2022-07-08 11:55:08 -04:00
2023-09-08 06:28:12 -07:00
2023-10-07 21:46:42 -07:00
2022-07-08 11:55:08 -04:00
2023-07-11 11:27:14 +02:00
2023-05-23 14:41:22 +02:00
2022-05-03 14:46:42 -07:00
2023-06-27 19:36:27 -07:00
2024-01-10 14:18:00 +07:00
2022-12-02 16:19:38 -05:00
2023-04-03 20:41:54 -07:00
2022-12-02 16:19:38 -05:00
2023-11-02 00:18:19 +01:00
2022-05-31 22:39:43 -07:00
2022-05-31 22:39:43 -07:00
2022-05-31 22:39:43 -07:00
2022-05-31 22:39:43 -07:00
2022-05-31 22:39:43 -07:00
2023-09-12 21:15:01 +08:00
2023-06-27 20:02:52 -07:00
2024-01-11 18:57:37 +08:00
2022-12-02 16:19:38 -05:00
2023-06-09 11:45:06 -07:00
2022-12-02 16:19:38 -05:00
2022-12-02 16:19:38 -05:00
2024-01-23 15:04:08 +00:00
2023-02-27 11:24:24 -08:00
2024-01-23 15:04:08 +00:00
2024-01-10 14:18:00 +07:00
2024-01-11 18:57:37 +08:00
2022-12-02 16:19:38 -05:00
2023-09-29 16:17:31 +01:00
2022-12-02 16:19:38 -05:00
2023-01-13 20:30:30 -05:00
2022-12-02 16:19:38 -05:00
2022-12-02 16:19:38 -05:00
2022-12-02 16:19:38 -05:00
2022-12-02 16:19:38 -05:00
2022-12-02 16:19:38 -05:00
2023-01-06 13:53:10 -05:00
2022-12-02 16:19:38 -05:00
2023-08-14 10:03:25 +01:00
2023-07-12 14:35:55 +02:00
2022-12-02 16:19:38 -05:00
2022-12-02 16:19:38 -05:00
2023-08-29 04:35:06 +00:00
2024-01-08 15:53:09 +08:00
2022-12-02 16:19:38 -05:00
2023-09-29 16:17:31 +01:00
2022-12-02 16:19:38 -05:00
2022-12-02 16:19:38 -05:00
2022-05-31 22:39:43 -07:00
2023-01-10 11:46:28 +00:00
2023-11-02 00:18:19 +01:00
2023-08-21 09:51:17 +01:00
2022-08-16 16:15:44 -07:00
2023-10-30 10:27:57 -07:00
2023-08-21 09:51:17 +01:00
2023-08-17 16:25:32 +01:00
2024-01-17 22:23:51 +01:00
2022-02-09 12:29:16 +00:00
2022-07-14 11:05:10 -07:00
2023-02-27 11:24:24 -08:00
2023-11-02 00:18:19 +01:00
2023-01-06 11:08:34 +00:00
2024-01-22 10:05:37 +00:00
2023-04-13 13:38:40 +01:00
2024-01-22 10:05:37 +00:00
2023-11-02 00:18:19 +01:00
2023-12-04 09:44:02 +00:00
2023-04-03 20:41:54 -07:00
2023-02-27 11:24:24 -08:00
2023-11-02 00:18:19 +01:00
2023-11-02 00:18:19 +01:00
2023-11-02 00:18:19 +01:00
2022-05-31 22:39:43 -07:00
2023-09-04 16:19:16 +02:00
2023-11-02 00:18:19 +01:00
2023-04-17 17:22:46 +01:00
2023-09-17 09:50:12 +01:00
2023-02-27 11:24:24 -08:00
2023-10-14 13:24:28 +01:00
2022-10-03 15:15:17 -07:00
2022-10-03 21:39:52 +01:00
2023-12-01 19:04:29 +00:00
2022-10-03 21:39:52 +01:00
2023-12-01 19:04:29 +00:00
2022-07-14 11:05:10 -07:00
2023-01-05 10:15:31 +01:00
2023-11-23 10:31:05 +01:00
2024-01-10 14:18:00 +07:00
2022-05-31 22:39:43 -07:00
2024-01-03 07:59:36 +00:00
2023-11-07 00:36:15 -08:00
2023-07-18 18:52:19 +01:00
2023-11-02 00:18:19 +01:00
2023-08-17 16:25:32 +01:00
2023-11-02 00:18:19 +01:00
2023-11-02 00:18:19 +01:00
2023-10-26 13:38:09 -07:00
2023-09-12 21:15:01 +08:00
2023-11-02 00:18:19 +01:00
2023-11-02 00:18:19 +01:00
2023-08-17 16:25:32 +01:00
2023-08-17 16:25:32 +01:00
2023-08-17 16:25:32 +01:00
2023-11-02 00:18:19 +01:00
2022-05-31 22:39:43 -07:00
2022-05-31 22:39:43 -07:00
2023-11-02 00:18:19 +01:00
2022-05-31 22:39:43 -07:00
2023-02-27 11:24:24 -08:00
2023-02-27 11:24:24 -08:00
2023-02-27 11:24:24 -08:00
2023-12-01 19:04:29 +00:00
2023-11-02 00:18:19 +01:00
2023-01-05 10:15:31 +01:00
2023-11-02 00:18:19 +01:00
2023-08-17 16:25:32 +01:00
2022-05-31 22:39:43 -07:00
2023-02-07 21:33:44 +01:00
2023-11-02 00:18:19 +01:00
2023-11-02 00:18:19 +01:00
2023-02-27 11:24:24 -08:00
2022-05-31 22:39:43 -07:00
2023-11-02 00:18:19 +01:00
2022-05-31 22:39:43 -07:00
2022-05-31 22:39:43 -07:00
2022-05-31 22:39:43 -07:00
2023-08-14 10:03:25 +01:00
2024-01-03 07:49:20 +00:00
2022-05-31 22:39:43 -07:00
2022-05-31 22:39:43 -07:00
2023-11-02 00:18:19 +01:00
2022-07-27 22:10:42 -07:00
2023-02-27 11:24:24 -08:00
2023-11-02 00:18:19 +01:00
2023-11-02 00:18:19 +01:00
2023-11-02 00:18:19 +01:00
2023-11-02 00:18:19 +01:00
2022-05-31 22:39:43 -07:00
2022-05-31 22:39:43 -07:00
2022-10-05 00:28:08 +01:00
2022-05-31 22:39:43 -07:00
2023-11-02 00:18:19 +01:00
2024-01-17 22:23:51 +01:00
2024-01-05 10:13:39 +07:00
2023-02-27 11:24:24 -08:00
2023-08-11 10:16:45 +01:00
2023-11-02 00:18:19 +01:00
2023-11-02 00:18:19 +01:00
2023-11-02 00:18:19 +01:00
2023-11-02 00:18:19 +01:00
2023-11-02 00:18:19 +01:00
2023-11-02 00:18:19 +01:00
2023-11-02 00:18:19 +01:00
2022-05-31 22:39:43 -07:00
2022-05-31 22:39:43 -07:00
2023-11-02 00:18:19 +01:00
2023-11-02 00:18:19 +01:00
2023-11-02 00:18:19 +01:00
2023-07-18 08:28:27 +01:00
2022-05-31 22:39:43 -07:00
2023-02-07 21:33:44 +01:00
2023-10-11 16:05:25 +01:00
2022-05-31 22:39:43 -07:00
2023-11-02 00:18:19 +01:00
2024-01-10 14:18:00 +07:00
2023-08-18 08:59:24 +01:00
2023-08-31 22:23:36 -07:00
2022-12-05 16:38:24 +03:00
2024-01-11 18:57:37 +08:00
2023-07-11 11:27:14 +02:00
2022-12-02 16:19:38 -05:00
2023-07-01 16:31:09 -07:00
2023-04-12 16:43:14 -07:00
2022-12-02 16:19:38 -05:00
2023-09-22 09:37:52 +08:00
2022-05-31 22:39:43 -07:00
2022-07-08 11:55:08 -04:00
2022-07-08 11:55:08 -04:00
2023-08-09 14:20:51 +02:00
2022-07-08 11:55:08 -04:00
2022-07-08 11:55:08 -04:00
2022-07-08 11:55:08 -04:00
2022-07-08 11:55:08 -04:00
2023-07-11 11:27:14 +02:00
2023-07-11 11:27:14 +02:00
2024-01-15 23:26:30 +07:00
2023-07-11 11:27:14 +02:00
2023-07-11 11:27:14 +02:00
2023-09-07 19:33:35 +03:00
2023-02-26 15:42:57 -08:00
2021-12-20 19:11:48 -05:00
2022-05-05 09:22:08 -07:00
2022-07-08 11:55:08 -04:00
2023-09-25 13:40:33 +01:00
2022-09-29 22:53:24 +01:00
2022-10-05 00:28:08 +01:00
2023-07-11 11:27:14 +02:00
2023-08-16 17:12:15 +01:00
2023-08-11 08:38:37 +02:00
2023-09-05 16:14:44 +02:00
2022-09-29 22:53:24 +01:00
2023-08-16 17:12:15 +01:00
2024-01-08 08:37:47 -08:00
2023-02-01 00:54:15 +01:00
2023-07-11 11:27:14 +02:00
2023-08-22 09:09:54 +02:00
2022-11-16 12:29:50 +00:00
2023-06-25 14:32:00 -07:00
2023-06-25 14:32:00 -07:00
2022-11-01 16:09:21 -07:00
2022-08-31 00:47:17 +02:00
2022-11-19 09:13:44 +08:00
2023-07-11 11:27:14 +02:00
2023-06-08 21:14:58 -07:00
2023-08-24 08:10:01 -04:00
2023-08-24 08:10:01 -04:00
2023-07-11 11:27:14 +02:00
2023-07-11 11:27:14 +02:00
2023-07-11 11:27:14 +02:00
2023-07-11 11:27:14 +02:00
2023-07-11 11:27:14 +02:00
2022-10-03 21:39:52 +01:00
2022-10-05 00:28:08 +01:00
2023-08-24 08:10:01 -04:00
2023-08-24 08:10:01 -04:00
2023-08-24 08:10:01 -04:00
2023-05-08 22:37:43 -07:00
2023-08-24 08:10:01 -04:00
2023-08-24 08:10:01 -04:00
2023-02-18 10:05:08 -08:00
2023-07-11 11:27:14 +02:00
2023-08-22 09:09:54 +02:00
2024-01-11 22:06:01 -08:00
2023-09-05 08:06:40 +08:00
2023-09-07 12:03:04 +02:00
2023-11-24 18:14:52 +01:00
2022-05-13 12:20:34 -07:00
2022-07-08 11:55:08 -04:00
2022-01-24 09:26:52 -05:00
2022-07-08 11:55:08 -04:00
2022-07-08 11:55:08 -04:00
2022-07-12 11:03:40 +01:00
2021-12-09 12:52:32 -08:00
2021-12-09 12:52:32 -08:00
2022-07-08 11:55:08 -04:00
2023-09-29 16:17:31 +01:00
2022-07-08 11:55:08 -04:00
2022-07-08 11:55:08 -04:00
2023-12-15 10:46:57 +00:00
2023-08-14 10:03:25 +01:00
2023-06-25 14:40:48 -07:00
2022-12-02 16:19:38 -05:00
2023-11-02 00:18:19 +01:00
2022-08-01 11:14:53 +02:00
2024-01-15 08:22:39 -08:00
2023-08-11 08:38:37 +02:00
2023-08-11 08:38:37 +02:00
2023-08-11 08:38:37 +02:00
2023-09-17 09:50:12 +01:00
2023-08-21 12:25:15 +01:00
2023-11-01 12:10:44 -07:00
2022-07-08 11:55:08 -04:00
2022-07-08 11:55:08 -04:00
2022-07-08 11:55:08 -04:00
2022-04-14 16:51:22 +01:00
2022-10-26 09:54:13 +08:00
2023-08-16 08:33:16 +01:00
2022-12-21 11:31:50 +00:00
2022-09-17 03:54:55 +03:00
2023-09-25 13:40:33 +01:00
2022-01-05 20:02:39 +00:00
2022-01-05 20:02:39 +00:00
2022-04-14 16:51:22 +01:00
2022-04-14 16:51:22 +01:00
2022-04-14 16:51:22 +01:00
2022-04-14 16:51:22 +01:00
2022-07-26 10:58:44 -07:00
2022-07-26 10:58:44 -07:00
2022-04-14 16:51:22 +01:00
2022-04-14 16:51:22 +01:00
2022-12-02 16:19:38 -05:00
2022-11-16 12:29:50 +00:00
2022-04-14 16:51:22 +01:00
2023-11-01 12:10:44 -07:00
2023-06-27 20:02:52 -07:00
2023-11-01 12:10:44 -07:00
2022-08-09 13:11:51 +08:00
2023-02-12 06:02:47 +00:00
2023-05-19 17:38:22 +02:00
2023-02-09 12:59:50 +03:00
2022-09-28 16:20:24 -07:00
2022-07-12 11:03:40 +01:00
2022-04-14 16:51:22 +01:00
2022-04-14 16:51:22 +01:00
2023-08-31 12:06:50 -07:00
2023-08-31 12:06:50 -07:00
2022-04-11 20:12:22 -04:00
2022-04-14 16:51:22 +01:00
2022-04-14 16:51:22 +01:00
2022-07-08 11:55:08 -04:00
2023-08-11 08:38:37 +02:00
2023-06-22 12:46:54 +01:00
2022-04-11 20:12:22 -04:00
2022-10-26 09:54:13 +08:00
2022-12-02 16:19:38 -05:00
2023-10-19 19:50:46 +02:00
2023-06-25 14:32:00 -07:00
2022-10-26 09:54:13 +08:00
2022-04-14 16:51:22 +01:00
2023-10-19 19:50:46 +02:00
2023-06-25 14:32:00 -07:00
2022-07-08 11:55:08 -04:00
2022-04-11 20:12:22 -04:00
2022-11-11 20:15:46 -08:00
2023-10-04 08:50:21 +01:00
2022-07-08 11:55:08 -04:00
2022-07-08 11:55:08 -04:00
2023-10-19 19:50:46 +02:00
2023-06-25 14:32:00 -07:00
2023-07-19 16:50:54 -07:00
2023-10-19 19:50:46 +02:00
2023-06-25 14:32:00 -07:00
2023-09-25 13:40:33 +01:00
2023-09-25 13:40:33 +01:00
2022-04-14 16:51:22 +01:00
2022-04-11 20:12:22 -04:00
2022-07-08 11:55:08 -04:00
2022-07-08 11:55:08 -04:00
2023-08-11 08:38:37 +02:00
2023-10-17 11:30:14 +01:00
2023-07-13 21:20:01 +08:00
2023-09-26 14:21:32 +01:00
2023-08-21 12:25:15 +01:00
2023-04-12 16:43:14 -07:00
2023-10-26 10:29:12 -07:00
2023-04-12 16:43:14 -07:00
2022-07-08 11:55:08 -04:00
2023-10-09 12:31:32 +01:00
2022-12-02 16:19:38 -05:00
2022-07-08 11:55:08 -04:00
2022-12-02 16:19:38 -05:00
2022-12-02 16:19:38 -05:00
2022-12-02 16:19:38 -05:00
2023-08-24 08:10:01 -04:00
2022-12-02 16:19:38 -05:00
2022-12-02 16:19:38 -05:00
2022-12-02 16:19:38 -05:00
2022-12-02 16:19:38 -05:00
2022-12-02 16:19:38 -05:00
2023-06-25 14:40:48 -07:00
2022-07-08 11:55:08 -04:00
2022-11-10 11:02:51 -08:00