summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Hexagon/vpred_defs.s
blob: 92c15a3e575809ab266883e4428ef608ff416cb7 (plain)
1
2
3
4
5
6
7
8
9
# RUN: llvm-mc -arch=hexagon -mv65 -filetype=asm -mhvx %s | FileCheck %s

# CHECK-NOT: error: register `{{.+}}' modified more than once

{ Q0 = VCMP.EQ(V0.h,V4.h)
  Q1 = VCMP.EQ(V1.h,V6.h)
  IF (Q3) VTMP.h = VGATHER(R0,M0,V3.h).h
  VMEM(R4++#1) = VTMP.new
}
OpenPOWER on IntegriCloud