summaryrefslogtreecommitdiff
path: root/test/MC/Hexagon/vtmp_def.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Hexagon/vtmp_def.s')
-rw-r--r--test/MC/Hexagon/vtmp_def.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MC/Hexagon/vtmp_def.s b/test/MC/Hexagon/vtmp_def.s
new file mode 100644
index 00000000000..26d257efadd
--- /dev/null
+++ b/test/MC/Hexagon/vtmp_def.s
@@ -0,0 +1,5 @@
+# RUN: not llvm-mc -arch=hexagon -mv65 -mhvx -filetype=obj %s 2>&1 | FileCheck %s
+
+# CHECK: register `VTMP' modified more than once
+{ vtmp.h=vgather(r0, m0, v1:0.w).h
+ vtmp.h=vgather(r0, m0, v1:0.w).h }