1 ; RUN: opt -instcombine -instcombine-code-sinking=0 -S < %s | FileCheck %s
3 define i32 @test(i1 %C, i32 %A, i32 %B) {
8 %tmp.2 = sdiv i32 %A, %B ; <i32> [#uses=1]
9 %tmp.9 = add i32 %B, %A ; <i32> [#uses=1]
10 br i1 %C, label %then, label %endif
12 then: ; preds = %entry
16 endif: ; preds = %entry