mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 16:17:17 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8440 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
20
test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll
Normal file
20
test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
; RUN: as < %s | opt -adce -disable-output
|
||||||
|
|
||||||
|
implementation ; Functions:
|
||||||
|
|
||||||
|
void %test() {
|
||||||
|
br bool false, label %then, label %endif
|
||||||
|
|
||||||
|
then:
|
||||||
|
invoke void null( sbyte* null )
|
||||||
|
to label %invoke_cont except label %invoke_catch
|
||||||
|
|
||||||
|
invoke_catch:
|
||||||
|
unwind
|
||||||
|
|
||||||
|
invoke_cont:
|
||||||
|
ret void
|
||||||
|
|
||||||
|
endif:
|
||||||
|
ret void
|
||||||
|
}
|
Reference in New Issue
Block a user