Jana Dönszelmann
27b3881df8
Rollup merge of #147390 - ZuseZ4:autodiff-dbg, r=jieyouxu
...
Use globals instead of metadata for std::autodiff
LLVM's Metadata is quite fragile. In debug builds we use incremental compilation, which caused the metadata to be dropped. With this change we use named globals instead of metadata to instruct Enzyme how to differentiate functions.
Globals are proper llvm values and thus can't be dropped. Also added an incremental/dbg test which now passes, to unblock the EnzymeAD CI which wants to run Rust autodiff tests.
r? compiler
2025-10-08 10:06:55 +02:00
..
2025-09-15 15:31:56 +00:00
2025-09-29 15:44:55 +10:00
2025-09-29 08:08:05 +03:00
2025-08-27 23:44:49 +02:00
2025-09-26 04:34:09 +00:00
2025-10-02 21:43:14 +00:00
2025-09-02 19:12:54 +10:00
2025-10-06 23:04:09 +02:00
2025-08-28 09:48:54 +00:00
2025-10-07 23:02:23 +01:00
2025-10-04 18:18:58 +00:00
2025-10-02 01:54:48 +00:00
2025-10-02 14:55:51 +08:00
2025-10-07 20:13:59 -04:00
2025-10-07 23:02:23 +01:00
2025-10-07 23:02:23 +01:00
2025-09-10 08:40:12 +02:00
2025-09-05 14:06:31 -04:00
2025-09-19 20:56:07 +00:00
2025-10-02 10:27:49 +02:00
2025-09-02 19:12:54 +10:00
2025-10-07 07:04:17 +02:00
2025-10-07 07:04:18 +02:00
2025-10-02 21:43:14 +00:00
2025-09-02 19:12:54 +10:00
2025-09-02 19:12:54 +10:00
2025-10-06 08:56:40 +08:00
2025-10-07 23:02:23 +01:00
2025-08-20 15:04:00 -07:00
2025-09-02 17:08:58 +02:00
2025-10-07 23:57:38 +00:00
2025-09-02 19:12:54 +10:00
2025-09-26 19:09:23 -04:00
2025-09-02 19:12:54 +10:00
2025-10-07 23:02:23 +01:00
2025-09-30 21:53:33 +02:00
2025-09-22 15:10:41 -04:00
2025-10-07 23:02:23 +01:00
2025-09-26 19:09:23 -04:00
2025-10-02 14:55:51 +08:00
2025-09-08 09:23:37 -07:00
2025-10-06 14:54:38 +00:00
2025-10-06 08:56:40 +08:00
2025-10-07 20:47:13 +00:00
2025-10-07 17:42:15 +02:00
2025-10-02 14:58:59 +08:00
2025-10-07 23:02:23 +01:00
2025-09-09 15:04:44 +00:00
2025-10-02 08:09:33 +00:00
2025-10-06 01:24:16 +00:00
2025-09-02 19:12:54 +10:00
2025-10-07 23:02:23 +01:00
2025-09-27 22:58:02 +01:00
2025-09-26 09:25:56 +00:00
2025-09-02 19:12:54 +10:00
2025-10-02 08:09:33 +00:00
2025-07-23 23:54:37 +00:00
2025-09-08 15:07:12 -07:00
2025-10-03 20:36:21 +10:00
2025-10-05 15:55:18 +00:00
2025-09-30 12:58:28 -04:00
2025-09-02 19:12:54 +10:00
2025-10-06 08:56:40 +08:00
2025-10-07 14:26:48 +00:00
2025-10-02 08:09:33 +00:00
2025-10-07 19:39:07 +02:00
2025-09-22 14:04:04 -07:00
2025-10-07 23:02:23 +01:00
2025-10-07 23:02:23 +01:00
2025-09-28 15:02:14 -07:00
2025-10-07 23:02:23 +01:00
2025-10-04 17:11:12 +02:00
2025-09-02 19:12:54 +10:00
2025-09-19 12:00:30 -07:00