[LLVMdev] frontend support for cross-compilation?

John Regehr regehr at cs.utah.edu
Tue Jul 1 12:57:06 PDT 2008


Although the process of porting the LLVM backend to a new architecture 
looks pretty straightforward (and is very well documented) there's a 
frontend issue that I'm not clear on:

How do we to tell the frontend about implementation-defined constants 
like integer width?  In other words, when llvm-gcc does a 
promote-to-integer operation, this acts differently if the target 
architecture has 16-bit vs 32-bit integers.

Thanks,

John Regehr



More information about the llvm-dev mailing list