diff options
| author | Erik Desjardins <erikdesjardins@users.noreply.github.com> | 2023-01-04 19:24:42 -0500 |
|---|---|---|
| committer | Erik Desjardins <erikdesjardins@users.noreply.github.com> | 2023-01-04 19:24:42 -0500 |
| commit | d165a6d70844020e4958ded4f80e30d64dd0bac1 (patch) | |
| tree | eef68e49afbaceb09300d3d037bfd1b3a6734587 /compiler/rustc_target/src | |
| parent | c7572670a1302f5c7e245d069200e22da9df0316 (diff) | |
| download | rust-d165a6d70844020e4958ded4f80e30d64dd0bac1.tar.gz rust-d165a6d70844020e4958ded4f80e30d64dd0bac1.zip | |
cleanup: handle -Zmutable-noalias like -Zbox-noalias
Diffstat (limited to 'compiler/rustc_target/src')
| -rw-r--r-- | compiler/rustc_target/src/abi/call/mod.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/compiler/rustc_target/src/abi/call/mod.rs b/compiler/rustc_target/src/abi/call/mod.rs index a5ffaebea0b..3de46a967f2 100644 --- a/compiler/rustc_target/src/abi/call/mod.rs +++ b/compiler/rustc_target/src/abi/call/mod.rs @@ -71,12 +71,7 @@ mod attr_impl { const NonNull = 1 << 3; const ReadOnly = 1 << 4; const InReg = 1 << 5; - // Due to past miscompiles in LLVM, we use a separate attribute for - // &mut arguments, so that the codegen backend can decide whether - // or not to actually emit the attribute. It can also be controlled - // with the `-Zmutable-noalias` debugging option. - const NoAliasMutRef = 1 << 6; - const NoUndef = 1 << 7; + const NoUndef = 1 << 6; } } } |
