diff options
| author | bors <bors@rust-lang.org> | 2023-06-28 00:41:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-28 00:41:37 +0000 |
| commit | bb95b7dcd6a247df0f4a6762a673a2910a81de9c (patch) | |
| tree | 4fdb876467eeeb9a0f3edf14bdefe9ea3e6f7f79 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 6b46c996e1d3a07dd73beb2873d74a8a0458d05f (diff) | |
| parent | 46973c9c8a775faa92eb10c478490c9b69f2eab6 (diff) | |
| download | rust-bb95b7dcd6a247df0f4a6762a673a2910a81de9c.tar.gz rust-bb95b7dcd6a247df0f4a6762a673a2910a81de9c.zip | |
Auto merge of #112307 - lcnr:operand-ref, r=compiler-errors
mir opt + codegen: handle subtyping fixes #107205 the same issue was caused in multiple places: - mir opts: both copy and destination propagation - codegen: assigning operands to locals (which also propagates values) I changed codegen to always update the type in the operands used for locals which should guard against any new occurrences of this bug going forward. I don't know how to make mir optimizations more resilient here. Hopefully the added tests will be enough to detect any trivially wrong optimizations going forward.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
