News for hackers. Stuff that matters.
Re:A Complete Guide to LLVM for Programming Language Creators by mrathi12 on Saturday December 26, 2020 @07:02AM (#25542934)
The command to use is `clang -S -emit-llvm -O1 foo.c`

It'll write it out to a foo.ll file.

(I use -O1 so it cleans up a bit of the messy parts of the IR).

There are no comments on this comment yet.