Files
rust/compiler/rustc_mir_transform/src
bors e10aa88911 Auto merge of #145737 - cjgillot:gvn-valueset, r=saethlin
GVN: stop hashing opaque values

GVN generates values that are not meant to be unified with any other. For instance `Opaque` (aka we don't know anything), non-deterministic constants and borrows.

The current algorithm generates a unique index, so the generated `Value` will be different from all the existing. This is wasteful, as we should not hash that `Value` at all.

This PR proposes to do this. This involves partially reimplementing a `FxIndexSet`, but yields a small but consistent perf improvement (https://github.com/rust-lang/rust/pull/145737#issuecomment-3276951054).
2025-09-19 12:15:03 +00:00
..
2025-09-05 15:38:01 +02:00
2025-09-08 15:07:12 -07:00
2025-07-21 08:08:41 +00:00
2025-08-13 09:33:09 -05:00
2025-09-16 22:23:19 +00:00
2025-07-31 14:19:27 +02:00
2025-09-16 22:23:19 +00:00
2025-09-17 21:12:17 +00:00
2025-07-01 19:00:21 +00:00
2025-09-16 22:23:19 +00:00
2025-09-01 09:19:03 +10:00
2025-02-22 00:13:19 +00:00
2025-07-29 20:41:34 -07:00
2025-09-16 22:23:19 +00:00