[LLVMdev] adjust address calculus for an architecture that does not address bytes
Christian.Sayer at dibcom.fr
Wed Apr 1 02:15:22 PDT 2009
> Your suggestion allows to store the i32* at the right place
> in %struct.pstr, but
this should be 'store the i16*'
> Or to put it shortly, regarding the property of char being
> the smallest addressable piece
> of data, sizeof(char) is 16 on my architecture, but "8" is
> hard coded in TargetData (maybe
my wording is quite a mess here...
well the goal is of course that sizeof(char) is 1 [byte], what I mean
is that the size of a char (rather a byte) is 16 bit ;)
CONFIDENTIAL NOTICE: The contents of this message, including any attachments, are confidential and are intended solely for the use of the person or entity to whom the message was addressed. If you are not the intended recipient of this message, please be advised that any dissemination, distribution, or use of the contents of this message is strictly prohibited. If you received this message in error, please notify the sender. Please also permanently delete all copies of the original message and any attached documentation. Thank you.
More information about the llvm-dev