https://github.com/preames requested changes to this pull request. This looks like this is duplicates large parts of LFTR without the safety checks. Please explain why LFTR doesn't handle the cases you care about. https://github.com/llvm/llvm-project/pull/144945