diff options
Diffstat (limited to 'test/CodeGen/Blackfin/i256mem.ll')
-rw-r--r-- | test/CodeGen/Blackfin/i256mem.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/Blackfin/i256mem.ll b/test/CodeGen/Blackfin/i256mem.ll new file mode 100644 index 0000000..6a3b394 --- /dev/null +++ b/test/CodeGen/Blackfin/i256mem.ll @@ -0,0 +1,9 @@ +; RUN: llvm-as < %s | llc -march=bfin -verify-machineinstrs +@i17_l = external global i17 ; <i17*> [#uses=1] +@i17_s = external global i17 ; <i17*> [#uses=1] + +define void @i17_ls() nounwind { + %tmp = load i17* @i17_l ; <i17> [#uses=1] + store i17 %tmp, i17* @i17_s + ret void +} |