[llvm] r179780 - Fix comment. Patch by Stephen Lin.

Bill Wendling isanbard at gmail.com
Thu Apr 18 11:30:17 PDT 2013


Author: void
Date: Thu Apr 18 13:30:16 2013
New Revision: 179780

URL: http://llvm.org/viewvc/llvm-project?rev=179780&view=rev
Log:
Fix comment. Patch by Stephen Lin.

Modified:
    llvm/trunk/lib/AsmParser/LLParser.cpp

Modified: llvm/trunk/lib/AsmParser/LLParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/LLParser.cpp?rev=179780&r1=179779&r2=179780&view=diff
==============================================================================
--- llvm/trunk/lib/AsmParser/LLParser.cpp (original)
+++ llvm/trunk/lib/AsmParser/LLParser.cpp Thu Apr 18 13:30:16 2013
@@ -878,8 +878,9 @@ bool LLParser::ParseFnAttributeValuePair
 
     // 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();





More information about the llvm-commits mailing list