19 lines · plain
1// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve2p1 2>&1 < %s | FileCheck %s2 3// --------------------------------------------------------------------------//4// Invalid use of predicate as counter register5 6ptrue pn7.b7// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid predicate register, expected PN in range pn8..pn15 with element suffix.8// CHECK-NEXT: ptrue pn7.b9// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:10 11// --------------------------------------------------------------------------//12// Invalid use of predicate as counter without suffix13 14ptrue pn815// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid predicate register, expected PN in range pn8..pn15 with element suffix.16// CHECK-NEXT: ptrue pn817// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:18 19