summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/Hexagon/duplex-registers.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/MC/Hexagon/duplex-registers.s b/llvm/test/MC/Hexagon/duplex-registers.s
new file mode 100644
index 00000000000..f0cde7f9628
--- /dev/null
+++ b/llvm/test/MC/Hexagon/duplex-registers.s
@@ -0,0 +1,10 @@
+#RUN: llvm-mc -triple=hexagon -filetype=obj %s | llvm-objdump -d - | FileCheck %s
+
+.text
+{
+ r16 = memuh(r17 + #0)
+ r18 = memuh(r19 + #0)
+}
+
+# CHECK: 289808ba
+# CHECK: r16 = memuh(r17 + #0);{{ *}}r18 = memuh(r19 + #0)
OpenPOWER on IntegriCloud