andreybokhanko added a comment.

In http://reviews.llvm.org/D18596#392341, @majnemer wrote:

> In http://reviews.llvm.org/D18596#392098, @andreybokhanko wrote:
>
> > Do we want to do this for an ignored qualifier? I don't see any practical 
> > purpose.
>
>
> It's not ignored for Windows on ARM.


Hmmm... MS documentation 
<https://msdn.microsoft.com/en-us/library/ms177389.aspx> explicitly mentions 
IPF only:

> When you declare a pointer with the __unaligned modifier, the compiler 
> assumes that the pointer addresses data that is not aligned. Consequently, 
> for an application that targets an Itanium Processor Family (IPF) computer, 
> the compiler generates code that reads the unaligned data one byte at a time.


OK, I will implement _unaligned as a qualifier, if you think this is the right 
way to go. Note, though, that it will remain ignored, as there is no support 
for _unaligned in LLVM IR.

Andrey


http://reviews.llvm.org/D18596



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to