# RUN: not llvm-mc -disassemble -triple armv7a -mcpu=cortex-a15 %s 2>&1 | FileCheck --check-prefix=CHECK-ARM %s

# HVC (ARM)
[0x7f,0xff,0x4f,0xf1]
# CHECK-ARM:   warning: invalid instruction encoding

[0x70,0xff,0x4f,0x01]
[0x7f,0xff,0x4f,0xd1]
# CHECK-ARM:   warning: potentially undefined instruction encoding
# CHECK-ARM:   warning: potentially undefined instruction encoding
