Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mrathi12
on Dec 26, 2020
|
parent
|
context
|
favorite
| on:
A Complete Guide to LLVM for Programming Language ...
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).
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
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).