1 ; RUN: opt < %s -lowerswitch -disable-output
5 %targetBlock = call i16 @solve_code( ) ; <i16> [#uses=1]
7 then.1: ; preds = %codeReplTail
9 loopexit.0: ; preds = %codeReplTail
11 codeReplTail: ; preds = %codeReplTail, %entry
12 switch i16 %targetBlock, label %codeReplTail [
13 i16 0, label %loopexit.0
18 declare i16 @solve_code()