> > 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? -eric