[llvm] [MSAN] Handle PtrToAddrInst in MemorySanitizer (PR #219307)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 27 20:57:42 PDT 2026
vitalybuka wrote:
In general with msan is nice to report ASAP, but we can't do that always, there are legitimate cases.
We do bit-wise shadow propagation for integers, because it's possible later to mask out uninitialized bits, keeping only good ones. However in case pointers I don't see much reason to have some bits uninitialized.
Unless we see a common pattern where reasonable code needs such pointers, I'd propose to report them.
https://github.com/llvm/llvm-project/pull/210729#issuecomment-5445402022 looks artificial to me.
https://github.com/llvm/llvm-project/pull/219307
More information about the llvm-commits
mailing list