chinmaydd wrote: Actually, there's some more clean up that can be done here - especially w.r.t `getVGPREncodingGranule`, `getAddressableNumVGPRs` and `getVGPRAllocGranule`. Let me do that first https://github.com/llvm/llvm-project/pull/226744