s-barannikov wrote: Have you figured what was the issue with sorting? I couldn't find any pointer comparisons or anything else that would cause llvm::sort to behave differently from run to run. https://github.com/llvm/llvm-project/pull/102257