Unused MIR statement directly before return #70531
Labels
A-cranelift
Things relevant to the [future] cranelift backend
A-MIR
Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html
A-mir-opt
Area: MIR optimizations
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The
_5 = discriminant(_1);
doesn't have any effect.(Labeling
A-cranelift
because this prevents codegen of thegoto -> bb4
likereturn
. Which may result in a few extra instructions being emitted to move registers and jump to the return block for cg_clif.)@rustbot modify labels: +A-mir +A-mir-opt +A-cranelift
The text was updated successfully, but these errors were encountered: