arsenm wrote: > Why does this need to use the entire AMDGPU.td? That's just how every target backend's tablegen is structured > Can't the tablegen files be made more modular? Probably, but this isn't trivial to do https://github.com/llvm/llvm-project/pull/212353