20 lines · plain
1# RUN: not llvm-mc -triple=hexagon %s 2>%t; FileCheck --implicit-check-not=error: %s <%t2 3.Lfoo:4{ p3:0 = r05 if (!p0.new) jump:t .Lfoo }6 7# CHECK: error: register `P0' used with `.new' but not validly modified in the same packet8 9{ c4 = r010 if (!p0.new) jump:t .Lfoo }11 12# CHECK: error: register `P0' used with `.new' but not validly modified in the same packet13 14{ c4 = r015 p0 = r016 if (!p0.new) jump:t .Lfoo }17 18# CHECK: error: register `P0' used with `.new' but not validly modified in the same packet19# CHECK: error: register `P3_0' modified more than once20