[SROA] Use stable sort for slices to avoid non-determinism (#91609)
Found this while trying to build a LLVM toolchain reproducibly from both Debian 12 and FreeBSD 14. With these changes they come out bit-by-bit identical. Previously there was a mix of stable and unstable sorts for slices, now only stable sorts are used.
parent
e3ffc4b6
Please register or sign in to comment