Changes

Summary

  1. [sanitizer] Hook up LZW into stack store (details)
  2. [Test][PhaseOrdering] Precommit test for PR52289 (details)
  3. [clang-tidy][NFC] Move CachedGlobList to GlobList.h (details)
  4. [PhaseOrdering] Add test for incorrect merge function scheduling (details)
Commit 9c491c873c2ba239e1e48c050bc28cd08738181d by Vitaly Buka
[sanitizer] Hook up LZW into stack store

Depends on D114503.

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D114924
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_stack_store_test.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.h
The file was modifiedcompiler-rt/test/sanitizer_common/TestCases/compress_stack_depot.cpp
Commit 728736e77ed894433d51b78512731fb2dfaa522f by anton.a.afanasyev
[Test][PhaseOrdering] Precommit test for PR52289
The file was addedllvm/test/Transforms/PhaseOrdering/X86/pr52289.ll
Commit 946eb7a037d5f83ea9cdc99bac0f939ddd344e09 by carlosgalvezp
[clang-tidy][NFC] Move CachedGlobList to GlobList.h

Currently it's hidden inside ClangTidyDiagnosticConsumer,
so it's hard to know it exists.

Given that there are multiple uses of globs in clang-tidy,
it makes sense to have these classes publicly available
for other use cases that might benefit from it.

Also, add unit test by converting the existing tests
for GlobList into typed tests.

Reviewed By: salman-javed-nz

Differential Revision: https://reviews.llvm.org/D113422
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
The file was modifiedclang-tools-extra/clang-tidy/GlobList.cpp
The file was modifiedclang-tools-extra/clang-tidy/GlobList.h
The file was modifiedclang-tools-extra/unittests/clang-tidy/GlobListTest.cpp
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.h
Commit 5b94037a304eb88809f86d8b9235426976061009 by npopov
[PhaseOrdering] Add test for incorrect merge function scheduling

Add an -enable-merge-functions option to allow testing of function
merging as it will actually happen in the optimization pipeline.
Based on that add a test where we currently produce two identical
functions without merging them due to incorrect pass scheduling
under the new pass manager.
The file was addedllvm/test/Transforms/PhaseOrdering/X86/merge-functions.ll
The file was modifiedllvm/lib/Passes/PassBuilderPipelines.cpp