[llvm-dev] Aligning Long Long Vairables
Kumail Ahmed via llvm-dev
llvm-dev at lists.llvm.org
Thu Jan 14 11:01:03 PST 2016
Hi,
I'm trying to align long long variable on a 4 byte boundary. I tried
to change to clang frontend as follow:
LongLongAlign = 32 ; LongLongWidth = 64;
The asm output is still 8 bytes, when I declare a long long global array:
.align 8
How can I change the alignment from 8 byte to 4 byte for long long
variables? Do I need to write an ASMprinter class or change something
in my backend?
Thank you.
--
Best Regards,
Kumail Ahmed
M.Sc. Student
TU Kaiserslautern
More information about the llvm-dev
mailing list