https://apt.llvm.org/ を見てinstallする。
$ wget https://apt.llvm.org/llvm.sh
$ chmod +x llvm.sh
$ sudo ./llvm.sh 16
$ apt list | grep llvm-16
llvm-16/unknown,now 1:16.0.6~++20230710042046+7cbf1a259152-1~exp1~20230710162136.105 amd64 [installed,automatic]
$ sudo apt-get install llvm-16
$ llvm-config-16 --version
16.0.6
$ ./build/src/a.out 2> tmp.ir
$ llc-16 tmp.ir
$ ls
tmp.ir.s
$ cat tmp.ir.s
$ clang tmp.ir.s
$ ./a.out