[LLVMdev] alignment

Anton Korobeynikov anton at korobeynikov.info
Wed Jul 28 15:13:26 PDT 2010


>   I was wondering if within the TargetDescription string it was
> possible to specify different alignment for variables on stack versus
> globals. If not, is there any other way to specify that ?
You can always ensure necessary alignment for globals during
asmprinting / codeemission.
This is in fact done inside some backends...

With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University

More information about the llvm-dev mailing list