https://github.com/david-arm commented: Thanks for this @usha1830! I want to review the RefSCC code changes a bit more, but at first glance looks good to me. I've left comments that I have so far. https://github.com/llvm/llvm-project/pull/158608