llvm-for-llvmta/test/MC/Hexagon/hvx-swapped-regpairs-alias-...

16 lines
369 B
ArmAsm
Raw Normal View History

2022-04-25 10:02:23 +02:00
# RUN: not llvm-mc -arch=hexagon -mcpu=hexagonv67 -mhvx -filetype=asm %s 2>%t; FileCheck --implicit-check-not="error:" %s <%t
{
v1:0 = #0
v0:1 = #0
}
# CHECK: error: register `V1' modified more than once
## Unused .tmp:
{
v1.tmp = vmem(r0 + #3)
v0:1 = vaddw(v17:16, v17:16)
}
# CHECK: warning: register `V1' used with `.tmp' but not used in the same packet