https://github.com/jh7370 requested changes to this pull request. I'll review this properly in the days to come (I've got a backlog of other reviews to get through first). Please update the PR title to be a proper commit title. https://github.com/llvm/llvm-project/pull/81667