[PATCH] D47570: [AArch64][SVE] Asm: Support for indexed DUP instructions.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 3 23:44:35 PDT 2018


sdesmalen added inline comments.


================
Comment at: lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp:5035
 
+    OperandMatchResultTy Res = tryParseVectorIndex(Operands);
+    if (Res == MatchOperand_ParseFail)
----------------
SjoerdMeijer wrote:
> just checking: tryParseVectorIndex can also return NoMatch, which we map on Success. I guess that's okay because the index is optional.
Yes that was indeed the reasoning.


https://reviews.llvm.org/D47570





More information about the llvm-commits mailing list