[PATCH] D72538: [ThinLTO] Add additional ThinLTO pipeline testing with new PM

Teresa Johnson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 25 13:33:39 PDT 2023


tejohnson added a comment.

In D72538#4296277 <https://reviews.llvm.org/D72538#4296277>, @nikic wrote:

> In D72538#4296119 <https://reviews.llvm.org/D72538#4296119>, @tejohnson wrote:
>
>> In D72538#4291552 <https://reviews.llvm.org/D72538#4291552>, @nikic wrote:
>>
>>> Would it be possible to cut down the Clang side tests to only check parts that Clang controls in some way, e.g. that SLPVectorizer is enabled? This test is something of a PITA because it tests LLVM implementation details but is not part of the LLVM tests, so it usually gets missed when doing pipeline changes.
>>
>> I think we can cut this down significantly, since the llvm tests added here check the full ThinLTO default pipeline setup at different opt levels. However, the point of the clang test is to make sure that for a distributed ThinLTO backend we correctly invoke thinBackend() which should set up the ThinLTO default pipeline. So how about I cut this down to check a single pass that is only invoked in the LTO backends? Specifically, I'm thinking of WholeProgramDevirtPass.
>
> That sounds reasonable to me!

Done in e5b0276dc882f7c5b2a349e2f02abf16b1d41322 <https://reviews.llvm.org/rGe5b0276dc882f7c5b2a349e2f02abf16b1d41322>


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72538/new/

https://reviews.llvm.org/D72538



More information about the cfe-commits mailing list