aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Blackfin/i8mem.ll
blob: ea3a67e4994cf18800b987df819092fc0d651098 (plain)
1
2
3
4
5
6
7
8
9
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
}