On Oct 5, 2009, at 3:17 PM, Eric Christopher wrote: >> >> if (D->hasAttr<NoInlineAttr>()) >> F->addFnAttr(llvm::Attribute::NoInline); >> + >> + if (const AlignedAttr *AA = D->getAttr<AlignedAttr>()) >> + F->setAlignment(AA->getAlignment()/8); > > 8 is a bit opaque, perhaps a BITS_PER_UNIT or some such?
So long as it is guaranteed to be 8. Does AlignedAttr really maintain its alignment in bits?? -Chris _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
