1# RUN: not llvm-mc -arch=hexagon -mcpu=hexagonv67 -mhvx -filetype=asm %s 2>%t; FileCheck  --implicit-check-not="error:" %s <%t
2
3{
4  v1:0 = #0
5  v0:1 = #0
6}
7# CHECK: error: register `V1' modified more than once
8
9## Unused .tmp:
10{
11  v1.tmp = vmem(r0 + #3)
12  v0:1 = vaddw(v17:16, v17:16)
13}
14
15# CHECK: warning: register `V1' used with `.tmp' but not used in the same packet
16