1# RUN: not llvm-mc -arch=hexagon %s 2>%t; FileCheck --implicit-check-not=error %s <%t 2 3.Lfoo: 4{ p3:0 = r0 5 if (!p0.new) jump:t .Lfoo } 6 7# CHECK: error: register `P0' used with `.new' but not validly modified in the same packet 8 9{ c4 = r0 10 if (!p0.new) jump:t .Lfoo } 11 12# CHECK: error: register `P0' used with `.new' but not validly modified in the same packet 13 14{ c4 = r0 15 p0 = r0 16 if (!p0.new) jump:t .Lfoo } 17 18# CHECK: error: register `P0' used with `.new' but not validly modified in the same packet 19# CHECK: error: register `P3_0' modified more than once 20