repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix part 1 of pr4682. PICADD is a 16-bit instruction even in thumb2 mode.
[llvm/avr.git]
/
test
/
CodeGen
/
Generic
/
empty-load-store.ll
blob
d7bb37194e49f088d89a0db6db7c75a4dc8afa86
1
; RUN: llvm-as < %s | llc
2
; PR2612
3
4
@current_foo = internal global { } zeroinitializer
5
6
define i32 @foo() {
7
entry:
8
%retval = alloca i32
9
store i32 0, i32* %retval
10
%local_foo = alloca { }
11
load { }* @current_foo
12
store { } %0, { }* %local_foo
13
br label %return
14
15
return:
16
load i32* %retval
17
ret i32 %1
18
}