fabianmcg wrote: Also, @joker-eph NVVM does have a hard dependency on its header to the NVPTX intrinsics. I only skim through that one, but at the least it looks like it could be moved to the source file and not the dialect header. https://github.com/llvm/llvm-project/pull/150692