Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AArch64 / SVE2p1 / uzpq2-diagnostics.s
blob01716d9323473b88d1309d4c98239c5acbf5a699
1 // RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve2p1 2>&1 < %s | FileCheck %s
3 // --------------------------------------------------------------------------//
4 // Invalid register suffixes
6 uzpq2 z0.h, z0.h, z0.s
7 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid element width
8 // CHECK-NEXT: uzpq2 z0.h, z0.h, z0.s
9 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
11 uzpq2 z0.d, z0.s, z0.s
12 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid element width
13 // CHECK-NEXT: uzpq2 z0.d, z0.s, z0.s
14 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: