[all-commits] [llvm/llvm-project] 134986: [msan] Fix handling of constant shadow

Vitaly Buka via All-commits all-commits at lists.llvm.org
Fri Aug 26 15:51:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 134986a720421eb048394147b7e67d4ada462261
      https://github.com/llvm/llvm-project/commit/134986a720421eb048394147b7e67d4ada462261
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2022-08-26 (Fri, 26 Aug 2022)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/test/Instrumentation/MemorySanitizer/check-constant-shadow.ll

  Log Message:
  -----------
  [msan] Fix handling of constant shadow

If constant shadown enabled we had false reports because
!isZeroValue() does not guaranty that the values is actually not zero.

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D132761




More information about the All-commits mailing list