mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Testcase for a bug responsible for GCC bootstrap failure, fallout from PR411.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34004 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9bb399cf08
commit
566dd149ae
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