Alan Zhao
50ea777e40
[opt][timers] Fix time-passes.ll test failing on reversed iterators ( #131941 )
...
After https://github.com/llvm/llvm-project/pull/131217 was submitted,
time-passes.ll fails because `opt` prints `-time-report` when
`ManagedTimerGlobals` is destroyed. `ManagedTimerGlobals` stores
`TimerGroup`s in an unordered map, so the ordering of the output
`TimerGroup`s depends on the underlying iterator.
To fix this, we do what Clang does and use
`llvm::TimerGroup::printAll(...)`, which *is* deterministic. This is
also what Clang does. This does put move analysis section before the
pass section for `-time-report`, but again, this is also what Clang
currently does.
2025-03-27 15:31:53 -07:00
..
2024-04-11 12:27:18 +08:00
2023-05-17 17:03:15 +02:00
2022-12-02 17:12:03 -05:00
2024-09-04 11:24:52 +02:00
2025-01-10 19:33:20 -08:00
2022-12-13 13:11:26 +01:00
2022-12-09 01:04:46 +03:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-09 01:04:46 +03:00
2022-12-13 13:11:26 +01:00
2022-12-09 01:04:46 +03:00
2022-12-13 13:11:26 +01:00
2022-12-09 01:04:46 +03:00
2024-08-09 22:12:09 -04:00
2022-12-13 13:11:26 +01:00
2024-06-06 20:50:46 +01:00
2023-09-05 22:01:51 -07:00
2023-09-06 11:20:19 +02:00
2022-12-09 01:04:46 +03:00
2023-10-24 20:27:39 -07:00
2023-06-07 14:20:27 +08:00
2025-01-29 16:56:47 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2024-06-11 09:50:13 -07:00
2023-09-29 10:31:29 -07:00
2024-04-11 11:25:33 +08:00
2024-01-09 13:32:59 +07:00
2025-02-14 09:28:57 +01:00
2025-02-14 09:28:57 +01:00
2022-12-09 01:04:46 +03:00
2023-03-01 09:22:02 -08:00
2025-01-22 10:37:56 -08:00
2024-05-28 12:40:39 +02:00
2024-05-28 12:40:39 +02:00
2024-05-28 12:40:39 +02:00
2024-05-28 12:40:39 +02:00
2024-12-21 12:37:44 -05:00
2024-06-11 09:50:13 -07:00
2022-12-13 13:11:26 +01:00
2024-10-21 18:13:49 -07:00
2024-05-03 14:13:59 -04:00
2025-03-14 22:55:56 +07:00
2025-03-14 22:55:56 +07:00
2024-10-01 22:01:13 -07:00
2023-08-09 18:33:11 -04:00
2023-06-29 09:39:04 -07:00
2022-12-09 01:04:46 +03:00
2022-12-09 01:04:46 +03:00
2022-12-13 13:11:26 +01:00
2025-02-21 09:13:11 -08:00
2024-04-16 12:26:08 +01:00
2024-06-12 16:55:38 +01:00
2022-12-13 13:11:26 +01:00
2023-11-30 10:21:35 +01:00
2024-11-07 08:11:15 +00:00
2022-12-13 13:11:26 +01:00
2023-03-15 13:07:55 -07:00
2024-05-03 14:13:59 -04:00
2024-11-07 08:11:15 +00:00
2023-06-21 10:30:43 -04:00
2022-12-13 13:11:26 +01:00
2022-12-09 01:04:46 +03:00
2022-12-13 09:21:56 -08:00
2024-06-20 19:39:19 +02:00
2025-03-06 07:57:30 -08:00
2025-03-06 07:57:30 -08:00
2023-11-03 21:01:07 -07:00
2025-02-12 21:39:32 -08:00
2025-01-29 11:24:03 -08:00
2024-11-08 15:29:44 -08:00
2023-05-25 09:32:54 -07:00
2022-12-13 13:11:26 +01:00
2025-03-12 17:17:51 +02:00
2022-11-28 11:00:45 -08:00
2024-11-07 07:52:14 +08:00
2024-11-07 07:52:14 +08:00
2024-11-07 07:52:14 +08:00
2024-11-07 07:52:14 +08:00
2024-11-07 07:52:14 +08:00
2024-11-07 07:52:14 +08:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2023-02-16 11:29:51 -08:00
2023-05-17 10:48:52 +02:00
2024-11-07 08:11:15 +00:00
2024-09-09 18:26:44 -07:00
2023-03-16 09:51:44 -07:00
2023-03-16 09:51:44 -07:00
2022-12-13 13:11:26 +01:00
2022-12-01 21:25:59 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2025-01-29 16:56:47 +01:00
2025-01-29 11:24:03 -08:00
2022-12-13 13:11:26 +01:00
2024-05-03 14:13:59 -04:00
2023-04-03 20:41:54 -07:00
2024-05-28 12:40:39 +02:00
2025-02-27 15:45:55 -08:00
2025-02-27 15:45:55 -08:00
2025-01-17 17:55:54 -08:00
2025-02-27 15:45:55 -08:00
2024-06-27 12:16:30 +02:00
2025-03-07 12:22:13 -08:00
2023-09-29 10:31:29 -07:00
2022-12-09 01:04:46 +03:00
2022-12-13 13:11:26 +01:00
2023-03-15 08:36:14 -07:00
2023-09-29 10:31:29 -07:00
2022-12-01 21:25:59 +01:00
2025-03-27 15:31:53 -07:00
2023-12-01 10:36:25 -08:00
2022-12-13 13:11:26 +01:00