Auto merge of #106474 - erikdesjardins:noalias, r=bjorn3
cleanup: handle -Zmutable-noalias like -Zbox-noalias r? `@bjorn3` cc `@RalfJung` this will conflict with #106180
This commit is contained in:
commit
afe8c4537c
4 changed files with 31 additions and 28 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue