https://github.com/cofibrant approved this pull request. I love this change. My only question would be whether we can simplify `emitUBRemark()` as several of the code paths look very similar to one another. https://github.com/llvm/llvm-project/pull/207864