https://github.com/zero9178 commented: For reference, this was previously attempted in https://github.com/llvm/llvm-project/pull/66196 The review comments there seem to align with the implementation shown here https://github.com/llvm/llvm-project/pull/91471