Fix comment. Patch by Stephen Lin.
authorBill Wendling <isanbard@gmail.com>
Thu, 18 Apr 2013 18:30:16 +0000 (18:30 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 18 Apr 2013 18:30:16 +0000 (18:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179780 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AsmParser/LLParser.cpp

index 1a15f6c4cd7c2cbf16804b011fc79b778003a5e4..8fa626dcc9d5abd979bfb0d6e98a9a0f1ca887c8 100644 (file)
@@ -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();