|
|
|
|
|
by pjin
4773 days ago
|
|
To me, the most interesting thing about PNaCl is that it'll be the first real test of LLVM as a portable assembly bitcode, rather than just a compiler IR. There are arguments for why LLVM may not be such a good idea, but given the momentum it's been making, I can only see good things happening for LLVM if more people use it. |
|
Consider code like this:
how would this be compiled portably, so that it returns 4 or 8 as appropriate? What would the LLVM bitcode look like?