x86_64 target?

Can llvm generate code for x86_64, or is it only x86?

Yes it can. If you are using llvm-gcc, just add -m64. It behaves just like gcc. If you are using llc, just add -march=x86-64.

Evan