https://github.com/bogner approved this pull request. This looks reasonable to me. It would be good to get some feedback from @pow2clk and @llvm-beanz since they've done a bunch of the work in this area. https://github.com/llvm/llvm-project/pull/125937