mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-05 02:07:56 +00:00
New testcase that Brian provided which crashes the inliner
llvm-svn: 12969
This commit is contained in:
parent
ac2b465cb4
commit
acf8b5189f
@ -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