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-02-07-FuncRename.ll
blob
e5419f72f60a6766262319a0718259276f5a5ef4
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
}