[llvm] [PassBuilder] Add a pass to LTO postlink step (PR #124053)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 27 11:48:56 PST 2025


https://github.com/nikic approved this pull request.

I do believe you need to adjust pipeline tests, but the change itself LGTM.

I'd also drop this TODO: https://github.com/llvm/llvm-project/blob/f569585db1d7d0d90def9c818f3406c2fae5dde3/llvm/lib/Passes/PassBuilderPipelines.cpp#L1597-L1599 While running the pass in that position ran into an issue, the pass should not be run pre-link in any case, even if that issue is resolved.

https://github.com/llvm/llvm-project/pull/124053


More information about the llvm-commits mailing list