[PATCH] D96406: [Msan, NewPM] Reduce size of msan binaries

Vitaly Buka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 10 04:02:26 PST 2021


vitalybuka created this revision.
vitalybuka added a reviewer: eugenis.
vitalybuka requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

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

Depends on D96328 <https://reviews.llvm.org/D96328>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D96406

Files:
  clang/lib/CodeGen/BackendUtil.cpp
  clang/test/Driver/msan.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96406.322644.patch
Type: text/x-patch
Size: 13988 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210210/46177608/attachment.bin>


More information about the cfe-commits mailing list