mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
4572ce85b0
llvm-svn: 33296
18 lines
529 B
LLVM
18 lines
529 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | 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
|
|
}
|
|
|