1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-03-08 19:36:02 +00:00
Nick Lewycky 9be3c97183 Turn unwind_to into "unwinds to".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48123 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-10 02:20:00 +00:00

14 lines
202 B
LLVM

; RUN: llvm-as < %s | opt -inline | llvm-dis | grep "br label %cleanup"
define void @g() {
unwind
}
define i32 @f1() {
entry: unwinds to %cleanup
call void @g()
ret i32 0
cleanup:
ret i32 1
}