[llvm-dev] Weird pointer alignment behavior on x86_32 - intentional or not?

Karl Rehm via llvm-dev llvm-dev at lists.llvm.org
Mon Jun 14 15:32:44 PDT 2021


Hello,
I'm trying to figure out why LLVM generates different code between Windows
and other targets when it comes to a simple pointer dereference. I've
narrowed it down to alignment, but I'm confused as to why this happens. Is
this behavior intentional?

https://godbolt.org/z/f18WxzW11
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210614/62be85a8/attachment.html>


More information about the llvm-dev mailing list