Should comments about deaggregation be deleted ? #139323
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
A-MIR
Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Location
rust/compiler/rustc_middle/src/mir/syntax.rs
Lines 722 to 724 in e0883a2
rust/compiler/rustc_middle/src/mir/syntax.rs
Lines 1442 to 1444 in e0883a2
rust/compiler/rustc_middle/src/mir/syntax.rs
Line 130 in e0883a2
rust/compiler/stable_mir/src/mir/body.rs
Lines 486 to 488 in e0883a2
rust/compiler/rustc_mir_transform/src/validate.rs
Line 313 in e0883a2
rust/compiler/rustc_mir_transform/src/validate.rs
Line 318 in e0883a2
rust/compiler/rustc_mir_transform/src/validate.rs
Line 1504 in e0883a2
rust/compiler/rustc_mir_transform/src/validate.rs
Line 1521 in e0883a2
rust/src/tools/rust-analyzer/crates/hir-ty/src/mir.rs
Line 450 in e0883a2
rust/src/tools/rust-analyzer/crates/hir-ty/src/mir.rs
Line 978 in e0883a2
Summary
I was reading the comments in rustc_middle::mir::syntax, and I found that the comments on rustc_middle::mir::syntax::Rvalue::Aggregate is weird.
Because I have observed
Aggregate
Rvalue
in optimized MIR.Then I found a pr "Do not deaggregate MIR #107267" stated that deaggregation have been removed from general compiling progress, such that these relevant comments about deaggregation is outdated.
So I think these pieces of comments should be deleted.
The text was updated successfully, but these errors were encountered: