diff options
| author | Thurston Dang <thurston@google.com> | 2025-06-11 22:43:06 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-11 22:43:06 -0700 |
| commit | 2efff47363f18966cd37461323b5db5418183534 (patch) | |
| tree | fa60514ed2ed4bd68df561b08d9ea81498e4f2b5 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 95bbaca6c1dcabb03bd67aabe3aaa4730a11200d (diff) | |
[NFCI][msan] Show that shadow for partially undefined constant vectors is computed as fully initialized (#143823)
This happens because `getShadow(Value *V)` has a special case for fully undefined/poisoned values, but partially undefined values fall-through and are given a clean shadow. This leads to false negatives (no false positives).
Note: MSan correctly handles InsertElementInst, but the shadow of the initial constant vector may still be wrong and be propagated.
Showing that the same approximation happens for other composite types is left as an exercise for the reader.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
