Displaying 2 results from an estimated 2 matches for "42ul".
Did you mean:
2ul
2006 Nov 24
0
[LLVMdev] Byte code portability (was Re: libstdc++ as bytecode, and compiling C++ to C)
...32-bit unsigned is what is
expected on the target you're compiling for. This is exactly why its
important to configure llvm-gcc as a cross-compiler for your target. If
you do, I'm sure that you'll find it will generate:
unsigned long test (unsigned long ltmp_0_1) {
return (ltmp_0_1 + 42ul);
}
assuming that "unsigned long" is a 32-bit unsigned long on your target.
Reid.
>
> Philipp
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/...
2006 Nov 24
2
[LLVMdev] Byte code portability (was Re: libstdc++ as bytecode, and compiling C++ to C)
Reid Spencer schrieb:
> Hi Philipp,
>
> On Fri, 2006-11-24 at 20:09 +0100, Philipp Klaus Krause wrote:
>> Reid Spencer schrieb:
>>
>>> Note that C and LLVM types are *not* the same things (despite the
>>> similar names). We are in the process of making this abundantly clear.
>>> The LLVM IR will soon use names like i8, i16, i32, and i64 (signless