Index: llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp =================================================================== --- llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp +++ llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp @@ -573,14 +573,16 @@ return DiagnosticPredicateTy::NearMatch; } - bool isSVEPattern() const { + DiagnosticPredicate isSVEPattern() const { if (!isImm()) - return false; + return DiagnosticPredicateTy::NoMatch; auto *MCE = dyn_cast(getImm()); if (!MCE) - return false; + return DiagnosticPredicateTy::NoMatch; int64_t Val = MCE->getValue(); - return Val >= 0 && Val < 32; + if (Val >= 0 && Val < 32) + return DiagnosticPredicateTy::Match; + return DiagnosticPredicateTy::NearMatch; } bool isSymbolicUImm12Offset(const MCExpr *Expr, unsigned Scale) const { Index: llvm/trunk/test/MC/AArch64/SVE/decb-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/decb-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/decb-diagnostics.s @@ -37,12 +37,12 @@ // Invalid predicate patterns decb x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: decb x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: decb x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: decb x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/decd-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/decd-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/decd-diagnostics.s @@ -37,12 +37,12 @@ // Invalid predicate patterns decd x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: decd x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: decd x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: decd x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/dech-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/dech-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/dech-diagnostics.s @@ -37,12 +37,12 @@ // Invalid predicate patterns dech x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: dech x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: dech x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: dech x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/decw-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/decw-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/decw-diagnostics.s @@ -37,12 +37,12 @@ // Invalid predicate patterns decw x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: decw x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: decw x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: decw x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/incb-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/incb-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/incb-diagnostics.s @@ -37,12 +37,12 @@ // Invalid predicate patterns incb x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: incb x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: incb x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: incb x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/incd-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/incd-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/incd-diagnostics.s @@ -37,12 +37,12 @@ // Invalid predicate patterns incd x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: incd x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: incd x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: incd x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/inch-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/inch-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/inch-diagnostics.s @@ -37,12 +37,12 @@ // Invalid predicate patterns inch x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: inch x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: inch x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: inch x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/incw-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/incw-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/incw-diagnostics.s @@ -37,12 +37,12 @@ // Invalid predicate patterns incw x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: incw x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: incw x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: incw x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/ptrue-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/ptrue-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/ptrue-diagnostics.s @@ -5,12 +5,12 @@ // --------------------------------------------------------------------------// ptrue p0.s, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: ptrue p0.s, vl512 // CHECK-NOT: [[@LINE-3]]:{{[0-9]+}}: ptrue p0.s, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: ptrue p0.s, vl9 // CHECK-NOT: [[@LINE-3]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/ptrues-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/ptrues-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/ptrues-diagnostics.s @@ -5,12 +5,12 @@ // --------------------------------------------------------------------------// ptrues p0.s, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: ptrues p0.s, vl512 // CHECK-NOT: [[@LINE-3]]:{{[0-9]+}}: ptrues p0.s, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: ptrues p0.s, vl9 // CHECK-NOT: [[@LINE-3]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/sqdecb-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/sqdecb-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/sqdecb-diagnostics.s @@ -28,7 +28,7 @@ // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: sqdecb x0, x1 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqdecb x0, x1 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: @@ -56,12 +56,12 @@ // Invalid predicate patterns sqdecb x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqdecb x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: sqdecb x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqdecb x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/sqdecd-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/sqdecd-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/sqdecd-diagnostics.s @@ -28,7 +28,7 @@ // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: sqdecd x0, x1 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqdecd x0, x1 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: @@ -56,12 +56,12 @@ // Invalid predicate patterns sqdecd x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqdecd x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: sqdecd x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqdecd x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/sqdech-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/sqdech-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/sqdech-diagnostics.s @@ -28,7 +28,7 @@ // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: sqdech x0, x1 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqdech x0, x1 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: @@ -56,12 +56,12 @@ // Invalid predicate patterns sqdech x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqdech x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: sqdech x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqdech x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/sqdecw-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/sqdecw-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/sqdecw-diagnostics.s @@ -28,7 +28,7 @@ // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: sqdecw x0, x1 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqdecw x0, x1 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: @@ -56,12 +56,12 @@ // Invalid predicate patterns sqdecw x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqdecw x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: sqdecw x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqdecw x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/sqincb-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/sqincb-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/sqincb-diagnostics.s @@ -28,7 +28,7 @@ // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: sqincb x0, x0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqincb x0, x0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: @@ -56,12 +56,12 @@ // Invalid predicate patterns sqincb x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqincb x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: sqincb x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqincb x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/sqincd-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/sqincd-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/sqincd-diagnostics.s @@ -28,7 +28,7 @@ // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: sqincd x0, x0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqincd x0, x0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: @@ -56,12 +56,12 @@ // Invalid predicate patterns sqincd x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqincd x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: sqincd x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqincd x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/sqinch-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/sqinch-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/sqinch-diagnostics.s @@ -28,7 +28,7 @@ // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: sqinch x0, x0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqinch x0, x0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: @@ -56,12 +56,12 @@ // Invalid predicate patterns sqinch x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqinch x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: sqinch x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqinch x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/sqincw-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/sqincw-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/sqincw-diagnostics.s @@ -28,7 +28,7 @@ // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: sqincw x0, x0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqincw x0, x0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: @@ -56,12 +56,12 @@ // Invalid predicate patterns sqincw x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqincw x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: sqincw x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: sqincw x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/uqdecb-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/uqdecb-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/uqdecb-diagnostics.s @@ -18,17 +18,17 @@ // Operands not matching up (unsigned dec only has one register operand) uqdecb x0, w0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqdecb x0, w0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqdecb w0, w0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqdecb w0, w0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqdecb x0, x0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqdecb x0, x0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: @@ -56,12 +56,12 @@ // Invalid predicate patterns uqdecb x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqdecb x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqdecb x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqdecb x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/uqdecd-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/uqdecd-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/uqdecd-diagnostics.s @@ -18,17 +18,17 @@ // Operands not matching up (unsigned dec only has one register operand) uqdecd x0, w0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqdecd x0, w0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqdecd w0, w0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqdecd w0, w0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqdecd x0, x0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqdecd x0, x0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: @@ -56,12 +56,12 @@ // Invalid predicate patterns uqdecd x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqdecd x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqdecd x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqdecd x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/uqdech-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/uqdech-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/uqdech-diagnostics.s @@ -18,17 +18,17 @@ // Operands not matching up (unsigned dec only has one register operand) uqdech x0, w0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqdech x0, w0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqdech w0, w0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqdech w0, w0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqdech x0, x0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqdech x0, x0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: @@ -56,12 +56,12 @@ // Invalid predicate patterns uqdech x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqdech x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqdech x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqdech x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/uqdecw-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/uqdecw-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/uqdecw-diagnostics.s @@ -18,17 +18,17 @@ // Operands not matching up (unsigned dec only has one register operand) uqdecw x0, w0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqdecw x0, w0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqdecw w0, w0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqdecw w0, w0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqdecw x0, x0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqdecw x0, x0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: @@ -56,12 +56,12 @@ // Invalid predicate patterns uqdecw x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqdecw x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqdecw x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqdecw x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/uqincb-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/uqincb-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/uqincb-diagnostics.s @@ -18,17 +18,17 @@ // Operands not matching up (unsigned inc only has one register operand) uqincb x0, w0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqincb x0, w0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqincb w0, w0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqincb w0, w0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqincb x0, x0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqincb x0, x0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: @@ -56,12 +56,12 @@ // Invalid predicate patterns uqincb x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqincb x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqincb x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqincb x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/uqincd-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/uqincd-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/uqincd-diagnostics.s @@ -18,17 +18,17 @@ // Operands not matching up (unsigned inc only has one register operand) uqincd x0, w0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqincd x0, w0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqincd w0, w0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqincd w0, w0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqincd x0, x0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqincd x0, x0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: @@ -56,12 +56,12 @@ // Invalid predicate patterns uqincd x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqincd x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqincd x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqincd x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/uqinch-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/uqinch-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/uqinch-diagnostics.s @@ -18,17 +18,17 @@ // Operands not matching up (unsigned inc only has one register operand) uqinch x0, w0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqinch x0, w0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqinch w0, w0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqinch w0, w0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqinch x0, x0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqinch x0, x0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: @@ -56,12 +56,12 @@ // Invalid predicate patterns uqinch x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqinch x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqinch x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqinch x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/trunk/test/MC/AArch64/SVE/uqincw-diagnostics.s =================================================================== --- llvm/trunk/test/MC/AArch64/SVE/uqincw-diagnostics.s +++ llvm/trunk/test/MC/AArch64/SVE/uqincw-diagnostics.s @@ -18,17 +18,17 @@ // Operands not matching up (unsigned inc only has one register operand) uqincw x0, w0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqincw x0, w0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqincw w0, w0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqincw w0, w0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqincw x0, x0 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqincw x0, x0 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: @@ -56,12 +56,12 @@ // Invalid predicate patterns uqincw x0, vl512 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqincw x0, vl512 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: uqincw x0, vl9 -// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate pattern +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand // CHECK-NEXT: uqincw x0, vl9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: