(original) (raw)

Hi,

Is there a way to passing llc options to clang, for example -march -mcpu, etc. ?

Some threads suggested using -mllvm flag,

I tried ./clang -mllvm -march=X86-64 -mcpu=core2 -o hello hello.c, but got "Unknown command line argument"

Thanks,
Ziqiang