eugenis wrote: This is a problem with MSan handling of signed comparison - it is not entirely correct as a compromise for performance and code size. Do you mind reverting the change while we figure out how to fix MSan? https://github.com/llvm/llvm-project/pull/110880