Displaying 2 results from an estimated 2 matches for "7b920f7f".
2019 May 05
2
How to get CLang array alloca alignments to be smaller than 16 bytes?
...ere I said .cpp). You'll be creating the equivalent file as part of
> adding support to Clang for your target.
>
> Cheers.
>
> Tim.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190505/7b920f7f/attachment.html>
2019 May 05
4
How to get CLang array alloca alignments to be smaller than 16 bytes?
I am working on a custom LLVM backend for a 16 bit architecture.
For my architecture, I need smaller array alignments for arrays created on the stack.
For example, consider the following code at the start of a C function:
char localBuff[20];
char localBuff2[6];
this gets converted by Clang into this:
%localBuff = alloca [20 x i8], align 16
%localBuff2 = alloca [6 x i8], align 1
Note