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