brintos

brintos / llvm-project-archived public Read only

0
0
Text · 593 B · df759ff Raw
18 lines · plain
1# RUN: llvm-mc -triple=hexagon -filetype=asm %s 2>%t; FileCheck --implicit-check-not=error: %s <%t2 3# Check that multiple changes to a predicate in a packet are caught.4 5	{ p0 = cmp.eq (r0, r0); p3:0 = r0 }6# CHECK: rror: register {{.+}} modified more than once7 8	{ p0 = cmp.eq (r0, r0); c4 = r0 }9# CHECK: rror: register {{.+}} modified more than once10 11	p3:0 = r912# CHECK-NOT: rror: register {{.+}} modified more than once13 14# Multiple writes to the same predicate register are permitted:15 16	{ p0 = cmp.eq (r0, r0); p0 = and(p1, p2) }17# CHECK-NOT: rror: register {{.+}} modified more than once18