Files
rust/compiler/rustc_mir_transform/src
bors 2b90614e94 Auto merge of #127036 - cjgillot:sparse-state, r=oli-obk
Make jump threading state sparse

Continuation of https://github.com/rust-lang/rust/pull/127024

Both dataflow const-prop and jump threading involve cloning the state vector a lot. This PR replaces the data structure by a sparse vector, considering:
- that jump threading state is typically very sparse (at most 1 or 2 set entries);
- that dataflow const-prop is disabled by default;
- that place/value map is very eager, and prone to creating an overly large state.

The first commit is shared with the previous PR to avoid needless conflicts.

r? `@oli-obk`
2024-07-03 18:52:04 +00:00
..
2024-06-16 21:35:21 -04:00
2023-12-10 10:56:22 +08:00
2024-04-20 19:20:38 +00:00
2024-07-01 05:17:13 -07:00
2023-12-10 10:56:22 +08:00
2024-06-19 13:54:51 +01:00
2024-07-02 11:25:31 +08:00
2024-07-02 11:25:31 +08:00
2023-12-10 10:56:22 +08:00
2024-06-14 16:54:29 -04:00
2024-06-20 22:16:59 -07:00