> > $> llvm-gcc foo.c -o foo.bc -c -emit-llvm > > Or you can pass -O4, which is -O3 + -emit-llvm. This seems to have stopped working recently (4.2 from svn). D.