[LLVMdev] Integer questions

Dan Gohman gohman at apple.com
Mon Sep 8 11:08:55 PDT 2008


On Sep 5, 2008, at 3:07 PM, Duncan Sands wrote:
> The current maximum the code generators support is i256.  If you try  
> to
> use bigger integers it will work fine in the bitcode, but if you try
> to do code generation the compiler will crash.

FYI, there is one other issue here, PR2660. While codegen in
general can handle types like i256, individual targets don't always
have calling convention rules to cover them. For example, returning
an i128 on x86-32 or an i256 on x86-64 doesn't doesn't fit in the
registers designated for returning values on those targets.

Dan




More information about the llvm-dev mailing list