diff options
Diffstat (limited to 'test/CodeGen/Blackfin/i8mem.ll')
-rw-r--r-- | test/CodeGen/Blackfin/i8mem.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/Blackfin/i8mem.ll b/test/CodeGen/Blackfin/i8mem.ll new file mode 100644 index 000000000000..ea3a67e4994c --- /dev/null +++ b/test/CodeGen/Blackfin/i8mem.ll @@ -0,0 +1,10 @@ +; RUN: llc < %s -march=bfin + +@i8_l = external global i8 ; <i8*> [#uses=1] +@i8_s = external global i8 ; <i8*> [#uses=1] + +define void @i8_ls() nounwind { + %tmp = load i8* @i8_l ; <i8> [#uses=1] + store i8 %tmp, i8* @i8_s + ret void +} |