projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Basic FastISel support for floating-point constants.
[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
}