projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7c0eb575f464d8a9b36efbccde1231308efb0e22
[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
}