[llvm-dev] Do Frontends need to care about alignment?

Rohan Bajaj via llvm-dev llvm-dev at lists.llvm.org
Mon Aug 31 17:14:19 PDT 2015


Meant to add more text, but somehow the email got sent.

Could you explain why for some of these cases? If I set the right target
and only want to operate with the system C ABI, will LLVM not generate
correct code if I want to pay say structs to a system defined function?

I see clang specifying alignment, but I'm not sure why.

I want to understand beyond alignment and function ABI (which for my case
is also system's C ABI) what makes my LLVM IR platform dependent.

On Mon, Aug 31, 2015 at 4:16 PM, Philip Reames <listmail at philipreames.com>
wrote:

> Sometimes.
>
> On 08/31/2015 03:48 PM, Rohan Bajaj via llvm-dev wrote:
>
>
>
> _______________________________________________
> LLVM Developers mailing listllvm-dev at lists.llvm.orghttp://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150831/163635d0/attachment.html>


More information about the llvm-dev mailing list