blob: 0ff1f5c6d50df1ff1d46886f0dd66b438ca23129 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
; 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
}
|