1 ; RUN: llvm-upgrade < %s | llvm-as | opt -lowerswitch -disable-output
5 %targetBlock = call ushort %solve_code( ) ; <ushort> [#uses=1]
8 then.1: ; preds = %codeReplTail
11 loopexit.0: ; preds = %codeReplTail
14 codeReplTail: ; preds = %entry, %codeReplTail
15 switch ushort %targetBlock, label %codeReplTail [
16 ushort 0, label %loopexit.0
17 ushort 1, label %then.1
21 declare ushort %solve_code()