aviralg wrote: This is an attempt to reland https://github.com/llvm/llvm-project/pull/188881 along with the fix from https://github.com/llvm/llvm-project/pull/195992 https://github.com/llvm/llvm-project/pull/196124