projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2b3a2ea247a286ae649b1bbfe7ea790b7d435ebc
[oota-llvm.git]
/
test
/
Transforms
/
DeadArgElim
/
2007-02-07-FuncRename.ll
1
; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | grep {@test(}
2
; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | 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
}