None of the tiny self-compiling C compilers could possibly used to compile xv6, as none of them implement structures (arguably the hardest part of compiling C code).
https://github.com/rswier/swieros/blob/master/root/bin/c.c
It's part of an OS he's building based on xv6