repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Heuristic: If the number of operands in the alias are more than the number of
[llvm/stm8.git]
/
test
/
Transforms
/
DeadArgElim
/
2007-02-07-FuncRename.ll
blob
d5bd6c4df53c5c901a7e8772550d291d1bc97564
1
; RUN: opt < %s -deadargelim -S | grep {@test(}
2
; RUN: opt < %s -deadargelim -S | not grep dead
3
4
define internal i32 @test(i32 %X, i32 %dead) {
5
ret i32 %X
6
}
7
8
define i32 @caller() {
9
%A = call i32 @test(i32 123, i32 456)
10
ret i32 %A
11
}