IgWod-IMG wrote: > Should we have a roundtrip test that shows that function decls were moved to the top? I have updated the existing test, so it checks the order of functions after roundtrip. Let me know if we need any extra tests. https://github.com/llvm/llvm-project/pull/164956