gysit wrote: There is a mechanism for this since last week: https://github.com/llvm/llvm-project/pull/151318 We opted for an attribute based solution. Would this work for your use case? https://github.com/llvm/llvm-project/pull/151996