The test standalone/issue_12588 is supposed to check that the generated LLVM ir is valid and that (from #13167),
--verbose-llvm-ir should trigger analysis and codegen
-femit-asm etc should trigger codegen even with -fno-emit-bin
However, IMHO, the test it not testing anything and, additionally, the generated files are not in .gitignore.