projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Ignore stderr for some more tests that expect warnings there.
[oota-llvm.git]
/
test
/
Transforms
/
DeadStoreElimination
/
byval.ll
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
}