[llvm-branch-commits] [llvm] AMDGPU: Declare pass control flags in header (PR #102865)

Stanislav Mekhanoshin via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Aug 12 12:24:17 PDT 2024


rampitec wrote:

> I don't really like needing to expose these globally like this; maybe it would be better to just move TargetPassConfig and the CodeGenPassBuilder into one common file?

Yep, I also do not like extern cl::opt.

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


More information about the llvm-branch-commits mailing list