gandhi56 wrote: This PR generates long MFMA chains, resulting in a dramatic increase in register pressure. I have an alternative solution to address the problem, which I will upload soon. https://github.com/llvm/llvm-project/pull/170242