[all-commits] [llvm/llvm-project] 5c4877: [msan] Re-fix disjoint OR instrumentation from #14...

Thurston Dang via All-commits all-commits at lists.llvm.org
Tue Jul 15 15:32:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5c4877ee0d2b5afcf23038b5cb0e82a03297657d
      https://github.com/llvm/llvm-project/commit/5c4877ee0d2b5afcf23038b5cb0e82a03297657d
  Author: Thurston Dang <thurston at google.com>
  Date:   2025-07-15 (Tue, 15 Jul 2025)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/test/Instrumentation/MemorySanitizer/or.ll

  Log Message:
  -----------
  [msan] Re-fix disjoint OR instrumentation from #145990 (#148760)

When disjoint OR was specified and a bit position contained a 1 in both
operands, #145990 would set the corresponding shadow bit to
uninitialized. However, the output of the operation is (LLVM) 'poison'
for the entire result, hence the entire shadow ought to be
uninitialized. This patch corrects the issue.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list