[SystemZ] Rework handling of constant PC-relative operands
[oota-llvm.git] / test / MC / SystemZ / insn-mh-02.s
1 # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
2 # RUN: FileCheck < %t %s
3
4 #CHECK: error: invalid operand
5 #CHECK: mh      %r0, -1
6 #CHECK: error: invalid operand
7 #CHECK: mh      %r0, 4096
8
9         mh      %r0, -1
10         mh      %r0, 4096