EarlyCSEPass called after msan redices code size by about 10%.
Similar optimization exists for legacy pass manager in
addGeneralOptsForMemorySanitizer.
Details
Details
- Reviewers
eugenis - Commits
- rG686b65f85f22: [Msan, NewPM] Reduce size of msan binaries
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, please add a TODO for more passes
clang/lib/CodeGen/BackendUtil.cpp | ||
---|---|---|
1336 | I did not know that MSan does not add the extra optimization passes in the new pass manager (see addGeneralOptsForMemorySanitizer). If I remember correctly, it used to give ~10% or more speedup on spec2006. |
I did not know that MSan does not add the extra optimization passes in the new pass manager (see addGeneralOptsForMemorySanitizer). If I remember correctly, it used to give ~10% or more speedup on spec2006.