Dinistro wrote: I reverted the commit again, thanks for the heads up. It seems that we cannot use a normal sort algorithm but have to implement a manual topological sort to deal with the partial order problem 😞 https://github.com/llvm/llvm-project/pull/68767