[SLP]Reduce number of alternate instruction, where possible
[llvm-project.git] / llvm / test / MC / AArch64 / SVE / directive-cpu-negative.s
blob6ba537ca70609e72f9accfb9b9167c41960212ab
1 // RUN: not llvm-mc -triple aarch64 -filetype asm -o - %s 2>&1 | FileCheck %s
3 .cpu generic+sve2+nosve
4 ptrue p0.b, pow2
5 // CHECK: error: instruction requires: sve or sme
6 // CHECK-NEXT: ptrue p0.b, pow2
8 // Check that setting +nosve implies +nosve2
9 adclb z0.s, z1.s, z31.s
10 // CHECK: error: instruction requires: sve2
11 // CHECK-NEXT: adclb z0.s, z1.s, z31.s