mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Testcase for a bug responsible for GCC bootstrap failure, fallout from PR411.
llvm-svn: 34004
This commit is contained in:
parent
9eb0b8c719
commit
1c153a1e17
11
test/Transforms/DeadArgElim/2007-02-07-FuncRename.ll
Normal file
11
test/Transforms/DeadArgElim/2007-02-07-FuncRename.ll
Normal file
@ -0,0 +1,11 @@
|
||||
; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | grep '@test(' &&
|
||||
; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | not grep dead
|
||||
|
||||
define internal i32 @test(i32 %X, i32 %dead) {
|
||||
ret i32 %X
|
||||
}
|
||||
|
||||
define i32 @caller() {
|
||||
%A = call i32 @test(i32 123, i32 456)
|
||||
ret i32 %A
|
||||
}
|
Loading…
Reference in New Issue
Block a user