Skip to content

Commit ce31713

Browse files
committed
fixup! [AArch64][llvm] Armv9.7-A: Add support for SVE2p3 LUTI6 operations"
Use `is(AsmToken::LBrac)` when parsing indexed luti6 instructions of the form: `luti6 { z0.h - z3.h }, { z0.h, z1.h }, { z0, z1 }[0]`
1 parent 5cdf9d1 commit ce31713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4882,7 +4882,7 @@ ParseStatus AArch64AsmParser::tryParseVectorList(OperandVector &Operands,
48824882
FirstReg, Count, Stride, NumElements, ElementWidth, VectorKind, S,
48834883
getLoc(), getContext()));
48844884

4885-
if (getTok().isNot(AsmToken::Comma)) {
4885+
if (getTok().is(AsmToken::LBrac)) {
48864886
ParseStatus Res = tryParseVectorIndex(Operands);
48874887
if (Res.isFailure())
48884888
return ParseStatus::Failure;

0 commit comments

Comments
 (0)