mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-15 04:08:07 +00:00
e78760e179
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8558 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
514 B
LLVM
18 lines
514 B
LLVM
; RUN: llvm-as < %s | opt -lowerswitch
|
|
|
|
void %child(int %ct.1) {
|
|
entry: ; No predecessors!
|
|
switch uint 0, label %return [
|
|
uint 3, label %UnifiedExitNode
|
|
uint 0, label %return
|
|
]
|
|
|
|
return: ; preds = %entry, %entry
|
|
%result.0 = phi int* [ null, %entry ], [ null, %entry ] ; <%struct.quad_struct*> [#uses=0]
|
|
br label %UnifiedExitNode
|
|
|
|
UnifiedExitNode: ; preds = %entry, %return, %entry, %entry
|
|
ret void
|
|
}
|
|
|