[PATCH] D47000: [AArch64] Use addAliasForDirective to support data directives

Javed Absar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 17 01:54:49 PDT 2018


javed.absar added inline comments.


================
Comment at: lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp:168
 
+    Parser.addAliasForDirective(".hword", ".2byte");
+    Parser.addAliasForDirective(".word", ".4byte");
----------------
maybe the comment can be ported here
"///  ::= .word [ expression (, expression)* ]"
if that makes sense



https://reviews.llvm.org/D47000





More information about the llvm-commits mailing list