1# RUN: not llvm-mc -arch=hexagon -filetype=asm -mcpu=hexagonv55 %s 2>%t; FileCheck %s < %t
2#
3{
4  sp=asrh(r6)
5  l2fetch(fp,r23:22)
6  p2=r7
7  p1=dfclass(r31:30,#6)
8}
9# CHECK: rror: Instruction can only
10