> "clang -S -emit-llvm --target xxx a.c -o a.ll" > "llc -march=xxx -mcpu=xxx -relocation-model=static -filetype=obj a.ll -o a.o” Passing -save-temps to clang will save all intermediate compilation files (a.ii, a.bc, a.s, a.o). llvm-dis a.bc to get the LLVM human-friendly IR.