https://github.com/skatrak commented: Thank you, these changes make sense to me. However, I see quite a bit of code duplication as a result, so I'd like to request addressing that so we avoid divergence problems in the future. https://github.com/llvm/llvm-project/pull/101703