Displaying 2 results from an estimated 2 matches for "5b990f0e".
2008 Sep 23
0
[LLVMdev] Overzealous PromoteCastOfAllocation
On Sep 23, 2008, at 4:16 AM, Matthijs Kooijman wrote:
>
>> and then does a load or store at the higher alignment, is
>> invoking undefined behavior. The alignment attribute on a load or
>> store
>> is an assertion about the actual alignment of the memory.
> Should this undefined behaviour be caught by the verifier, or is it
> ok for it
> to exist?
I
2008 Sep 23
3
[LLVMdev] Overzealous PromoteCastOfAllocation
Hi Dan,
> Oh, ok. So code that takes an alloca, bitcasts the address to a higher
> alignment,
Since alignment is not a property of a type, I don't think you can "bitcast to
a higher alignment" as such. I still understand what you mean, though :-)
> and then does a load or store at the higher alignment, is
> invoking undefined behavior. The alignment attribute on a load