1 // RUN
: llvm-mc
-triple
=aarch64
-mattr
=+sme
< %s
2>&1 | FileCheck
%s
2 // RUN
: not llvm-mc
-triple
=aarch64
-mattr
=-neon
,+sme
< %s
2>&1 | FileCheck
%s
--check-prefix
=CHECK-ERROR
4 // Verify NEON is disabled when targeting streaming mode
, if it
's not
5 // explicitly requested.
6 add v0.8b, v1.8b, v2.8b
7 // CHECK: add v0.8b, v1.8b, v2.8b
8 // CHECK-ERROR: error: instruction requires: neon