MaskRay wrote: Sorry, with closer inspection, I believe a large of portion of code and tests need reworking. I think it's best if I create a different PR, but I'll give you credits as a co-author. https://github.com/llvm/llvm-project/pull/95714