repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
In some rare cases, the register allocator can spill registers but end up not utilizi...
[llvm/msp430.git]
/
test
/
Transforms
/
DeadStoreElimination
/
byval.ll
blob
08f69a40c579f9b13ae44daa9d752ea6de60a594
1
; RUN: llvm-as < %s | opt -dse | llvm-dis | not grep store
2
3
%struct.x = type { i32, i32, i32, i32 }
4
5
define i32 @foo(%struct.x* byval %a) nounwind {
6
entry:
7
%tmp2 = getelementptr %struct.x* %a, i32 0, i32 0
8
store i32 1, i32* %tmp2, align 4
9
ret i32 1
10
}