[LLVMdev] Help with Values sign

Chris Lattner clattner at apple.com
Mon May 28 01:44:36 PDT 2012


On May 27, 2012, at 9:15 PM, Santos Merino wrote:

> I have found that the problem is the endianness of Values. For example a 1 it's
> stored as 00000001 00000000 00000000 0000000 instead of 0000000 00000000 0000000
> 00000000 so how can I change how the values are stored and/or load (because I
> suppose that the problem is when I store it or load from memory)

Are you setting up the module's TargetData string correctly?

-Chris



More information about the llvm-dev mailing list