repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-complete.git]
/
test
/
Transforms
/
DeadArgElim
/
2007-10-18-VarargsReturn.ll
blob
9bbc275ae7d73204b6d2f4adc9c4ac385cf1081f
1
; RUN: opt < %s -deadargelim -S | not grep "ret i32 0"
2
; PR1735
3
4
define internal i32 @test(i32 %A, ...) {
5
ret i32 %A
6
}
7
8
define i32 @foo() {
9
%A = call i32(i32, ...) @test(i32 1)
10
ret i32 %A
11
}
12