summaryrefslogtreecommitdiff
path: root/test/CodeGen/Blackfin/i216mem.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Blackfin/i216mem.ll')
-rw-r--r--test/CodeGen/Blackfin/i216mem.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/Blackfin/i216mem.ll b/test/CodeGen/Blackfin/i216mem.ll
new file mode 100644
index 0000000000..085dc154a8
--- /dev/null
+++ b/test/CodeGen/Blackfin/i216mem.ll
@@ -0,0 +1,9 @@
+; RUN: llvm-as < %s | llc -march=bfin -verify-machineinstrs
+@i216_l = external global i216 ; <i216*> [#uses=1]
+@i216_s = external global i216 ; <i216*> [#uses=1]
+
+define void @i216_ls() nounwind {
+ %tmp = load i216* @i216_l ; <i216> [#uses=1]
+ store i216 %tmp, i216* @i216_s
+ ret void
+}