Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's more or less what I got... The IR is similar to bytecode, isn't it?


LLVM assembly and bytecode are both serializations of the intermediate representation. Using a somewhat loose definition, one could call all three of them IR, even though few tools would use assembly or bytecode as their internal representation of the code.

Reading http://llvm.org/docs/CommandGuide/index.html#basic-commands, llvm-as takes LLVM assembly to bytecode; llvm-dis does the reverse.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: