mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-11 13:44:28 +00:00
215f0b77c8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5977 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
621 B
LLVM
20 lines
621 B
LLVM
; RUN: as < %s | opt -lowerswitch
|
|
|
|
void %child(int %ct.1) {
|
|
entry: ; No predecessors!
|
|
switch uint 0, label %return [
|
|
uint 2, label %UnifiedExitNode
|
|
uint 3, label %UnifiedExitNode
|
|
uint 0, label %return
|
|
uint 1, label %UnifiedExitNode
|
|
]
|
|
|
|
return: ; preds = %entry, %entry
|
|
%result.0 = phi %struct.quad_struct* [ null, %entry ], [ null, %entry ] ; <%struct.quad_struct*> [#uses=0]
|
|
br label %UnifiedExitNode
|
|
|
|
UnifiedExitNode: ; preds = %entry, %return, %entry, %entry
|
|
ret void
|
|
}
|
|
|