[llvm] [AMDGPU][Passes] Invoke CGSCCOptimizerLateEP callbacks in LTO pipeline (PR #203262)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 12 09:00:17 PDT 2026


shiltian wrote:

I think that wasn't invoked, probably by design. That EP is only used for per-TU compilation (and in ThinLTO it's still per-"TU"), so it might not make sense to run those passes on a monolithic module.

Instead, maybe we should insert some AMDGPU passes into other EPs?

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


More information about the llvm-commits mailing list