[all-commits] [llvm/llvm-project] ef0f86: [msan] Combine shadow check of the same instruction

Vitaly Buka via All-commits all-commits at lists.llvm.org
Thu Sep 1 13:56:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef0f866718bf522ef3fd895e0b7ffb4d1b618ea5
      https://github.com/llvm/llvm-project/commit/ef0f866718bf522ef3fd895e0b7ffb4d1b618ea5
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2022-09-01 (Thu, 01 Sep 2022)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/test/Instrumentation/MemorySanitizer/avx-intrinsics-x86.ll
    M llvm/test/Instrumentation/MemorySanitizer/avx2-intrinsics-x86.ll
    M llvm/test/Instrumentation/MemorySanitizer/csr.ll
    M llvm/test/Instrumentation/MemorySanitizer/masked-store-load.ll
    M llvm/test/Instrumentation/MemorySanitizer/sse-intrinsics-x86.ll
    M llvm/test/Instrumentation/MemorySanitizer/sse41-intrinsics-x86.ll

  Log Message:
  -----------
  [msan] Combine shadow check of the same instruction

Reduces .text size by 1% on our large binary.

On CTMark (-O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -fsanitize-memory-param-retval)
Size -0.4%
Time -0.8%

Reviewed By: kda

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




More information about the All-commits mailing list