Closed
Description
For historic reasons, Miri calls uninitialized memory and the value that you get when reading it "undef(ined)". This is potentially derived from LLVM undef
. However, that is actually a misnomer -- Miri's "undef" is much more like LLVM's poison
. Also, the docs and user-visible message usually speak about "uninitialized memory/values", and I think that terminology makes much more sense.
We should thus rename all "undef" in Miri to "uninit". In particular, but not limited to:
InvalidUndefBytes
ScalarMaybeUndef
UndefMask
Cc @oli-obk
Metadata
Metadata
Assignees
Labels
Area: The miri toolCategory: PRs that clean code up or issues documenting cleanup.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Relevant to the compiler team, which will review and decide on the PR/issue.