diff options
Diffstat (limited to 'llvm/test/MC/Hexagon/vpred_defs.s')
-rw-r--r-- | llvm/test/MC/Hexagon/vpred_defs.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/MC/Hexagon/vpred_defs.s b/llvm/test/MC/Hexagon/vpred_defs.s new file mode 100644 index 00000000000..92c15a3e575 --- /dev/null +++ b/llvm/test/MC/Hexagon/vpred_defs.s @@ -0,0 +1,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 +} |