opt -std-compile-opts

Hello.

Hi

I am using the llvm 1.9 and contrary to the help page there is no option:
-std-compile-opts

Help page is for 2.0cvs. If you're using 1.9 you should use
http://llvm.org/releases/1.9/docs/

for the command "opt". It would be nice if s.o. could list the passes which
are normally done for compilation/optimization.

You can see full set of optimisations performed by llvm-gcc in many
places:
1. findmisopt script
2. Comments in 1056 – Should document gcc 3.4.4 as known-broken on x86-64

PS: Is there some overview over all the passes besides the documentation in
the head of the source files? Being not so fond with compilers i am somehow
lost with all theses passes.

AFAIK, it's in progress.