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