diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-06-29 17:59:37 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-29 17:59:37 +0530 |
| commit | 68228be56062eb62f09088663e93ea66109156f8 (patch) | |
| tree | 17006f074d35aff9787abc12ac80094d53a436b2 /compiler/rustc_codegen_llvm/src/common.rs | |
| parent | fcbb2e8009e440987060bb6c669d052326416c28 (diff) | |
| parent | 5fc1dd11a93b57d795e352e6c8718d5ffbb74dbb (diff) | |
| download | rust-68228be56062eb62f09088663e93ea66109156f8.tar.gz rust-68228be56062eb62f09088663e93ea66109156f8.zip | |
Rollup merge of #98625 - RalfJung:retag, r=oli-obk
emit Retag for compound types with reference fields I want to add an option to Miri to do retagging inside reference fields. But that means we first have to even emit `Retag` for types that *contain* references (rather than being of reference types). :) Stacked Borrows originally did that, but we stopped doing it when hitting bunch of issues in the standard library. However I have since realized that we actually do emit `noalias` for newtypes references, which means for soundness we should recurse into fields. Also it'd probably be bad news if newtypes lose out on optimizations (and they don't, for anything else). I want to add an option for that to Miri so that we can start experimenting with those semantics. r? ``@oli-obk``
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/common.rs')
0 files changed, 0 insertions, 0 deletions
