From: Bill Wendling Date: Thu, 18 Apr 2013 18:30:16 +0000 (+0000) Subject: Fix comment. Patch by Stephen Lin. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c0b4b6724c5887c839e236bea97016028fb5db19;p=oota-llvm.git Fix comment. Patch by Stephen Lin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179780 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp index 1a15f6c4cd7..8fa626dcc9d 100644 --- a/lib/AsmParser/LLParser.cpp +++ b/lib/AsmParser/LLParser.cpp @@ -878,8 +878,9 @@ bool LLParser::ParseFnAttributeValuePairs(AttrBuilder &B, // Target-independent attributes: case lltok::kw_align: { - // As a hack, we allow "align 2" on functions as a synonym for "alignstack - // 2". + // As a hack, we allow function alignment to be initially parsed as an + // attribute on a function declaration/definition or added to an attribute + // group and later moved to the alignment field. unsigned Alignment; if (inAttrGrp) { Lex.Lex();