Search code examples
llvmllvm-clangllvm-ir

Cannot find llc tool in LLVM


I can get llvm-ir from C code using Clang. I just want to work with LLVM-IR. For my compiler project. I need to convert LLVM-IR to target machine code or executable.

But I can't convert LLVM-IR to .exe. I downloaded LLVM from official site. But I can't find llc or lli tool. Did I download the wrong one?. I use windows 10.


Solution

  • Yep, there is no llc.exe in Windows binary package. Compile LLVM yourself, this is pretty straightforward.