[all-commits] [llvm/llvm-project] 686b65: [Msan, NewPM] Reduce size of msan binaries

Vitaly Buka via All-commits all-commits at lists.llvm.org
Thu Feb 11 16:07:41 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 686b65f85f22c70e082753cd05e8572d22e3991c
      https://github.com/llvm/llvm-project/commit/686b65f85f22c70e082753cd05e8572d22e3991c
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2021-02-11 (Thu, 11 Feb 2021)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/test/Driver/msan.c

  Log Message:
  -----------
  [Msan, NewPM] Reduce size of msan binaries

EarlyCSEPass called after msan redices code size by about 10%.
Similar optimization exists for legacy pass manager in
addGeneralOptsForMemorySanitizer.

Reviewed By: eugenis

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




More information about the All-commits mailing list