You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
560 B

# RUN: not llvm-mc -arch=hexagon %s 2>%t; FileCheck --implicit-check-not=error %s <%t
.Lfoo:
{ p3:0 = r0
if (!p0.new) jump:t .Lfoo }
# CHECK: error: register `P0' used with `.new' but not validly modified in the same packet
{ c4 = r0
if (!p0.new) jump:t .Lfoo }
# CHECK: error: register `P0' used with `.new' but not validly modified in the same packet
{ c4 = r0
p0 = r0
if (!p0.new) jump:t .Lfoo }
# CHECK: error: register `P0' used with `.new' but not validly modified in the same packet
# CHECK: error: register `P3_0' modified more than once