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