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

No, the implication is that the LLVM IR that the frontend produces changes depending on the ultimate target that the LLVM IR will be compiled to. In other words, the frontends aren't backend-agnostic.


Oh, right! That makes more sense. So you have to specify the backend when you start the process? I didn't know LLVM did that.


Yes, the frontend very much knows what target you are aiming for. It greatly affects the IR that is generated.

And once you generate that IR, you can't just built it to an arbitrary target, it must be the one it was generated for.




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

Search: