diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2021-03-18 22:44:36 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-03-21 20:10:53 +0100 |
| commit | c3f9403f590ac8989bc50f933541a6234e391747 (patch) | |
| tree | 5db68e298e1c9b88e7613ce48d3f561079e58cdc /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 08c5ffd4a3e79aeb9a4cc79576d97760a9be25de (diff) | |
| download | rust-c3f9403f590ac8989bc50f933541a6234e391747.tar.gz rust-c3f9403f590ac8989bc50f933541a6234e391747.zip | |
Don't consider !Unpin references as noalias
Such structures may contain self-references, in which case the same location may be accessible through a pointer that is not based-on the noalias pointer. This is still grey area as far as language semantics are concerned, but checking for !Unpin as an indicator for self-referential sturctures seems like a good approach for the meantime.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
