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
pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git]
/
test
/
Transforms
/
DeadStoreElimination
/
byval.ll
blob
fa651b1ee382f48dca85b0b4ed0485f3e901cddc
1
; RUN: opt < %s -dse -S | 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
}