https://github.com/tblah requested changes to this pull request. Please could you add testing, like the tests you wrote for the loop versioning flag. https://github.com/llvm/llvm-project/pull/67676