mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
New testcase that Brian provided which crashes the inliner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12969 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d244057a48
commit
6f352f3075
21
test/Transforms/Inline/2004-04-15-InlineDeletesCall.ll
Normal file
21
test/Transforms/Inline/2004-04-15-InlineDeletesCall.ll
Normal file
@ -0,0 +1,21 @@
|
||||
; RUN: llvm-as < %s | opt -inline -disable-output
|
||||
|
||||
; Inlining the first call caused the inliner function to delete the second
|
||||
; call. Then the inliner tries to inline the second call, which no longer
|
||||
; exists.
|
||||
|
||||
implementation
|
||||
|
||||
internal void %Callee1() {
|
||||
unwind
|
||||
}
|
||||
|
||||
void %Callee2() {
|
||||
ret void
|
||||
}
|
||||
|
||||
void %caller() {
|
||||
call void %Callee1()
|
||||
call void %Callee2()
|
||||
ret void
|
||||
}
|
Loading…
Reference in New Issue
Block a user