david-arm wrote: Just for reference here is a link to a WIP patch that adds support for versioning of early exit loops with potentially faulting loads: https://github.com/llvm/llvm-project/pull/120603 https://github.com/llvm/llvm-project/pull/120567