about summary refs log tree commit diff
path: root/compiler/rustc_metadata/src/native_libs.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-07-18 04:27:50 +0200
committerGitHub <noreply@github.com>2025-07-18 04:27:50 +0200
commitb252014673d31f371757613a4ced13adfd6b304c (patch)
tree17fc72640508d8da3f3b147028867de17125346c /compiler/rustc_metadata/src/native_libs.rs
parente943b3b70dc9fd3356a0e0dd1b590875950c795a (diff)
parent4a95b165274f9de5c6a0d3c13ae3103e2ac23eb9 (diff)
downloadrust-b252014673d31f371757613a4ced13adfd6b304c.tar.gz
rust-b252014673d31f371757613a4ced13adfd6b304c.zip
Rollup merge of #143271 - cjgillot:gvn-types, r=oli-obk
Store the type of each GVN value

MIR is fully typed, so type information is an integral part of what defines a value. GVN currently tries to circumvent storing types, which creates all sorts of complexities.

This PR stores the type along with the enum `Value` when defining a value index. This allows to simplify a lot of code.

Fixes rust-lang/rust#128094
Fixes rust-lang/rust#135128

r? ``````@ghost`````` for perf
Diffstat (limited to 'compiler/rustc_metadata/src/native_libs.rs')
0 files changed, 0 insertions, 0 deletions