[LLVMdev] Why IR portable?

Anton Korobeynikov anton at korobeynikov.info
Wed Dec 22 05:10:17 PST 2010


Hello

> We all know LLVM IR is portable, but it uses ILP32
No, it doesn't use this.

> It seems it already assigned their sizes mapping with types.
> How can it be portable? Isn't it been written there?
Everything depends on how you generated the IR.
You might find this link
http://llvm.org/docs/FAQ.html#platformindependent useful.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list