27 lines · plain
1; RUN: opt < %s -passes='loop-mssa(simple-loop-unswitch),instcombine,gvn' -verify-memoryssa -disable-output2; PR23723target triple = "i386-pc-linux-gnu"4 5define i32 @func_3(i16 signext %p_5, i16 signext %p_6) nounwind {6entry:7 %tmp3 = icmp eq i16 %p_5, 0 ; <i1> [#uses=1]8 %tmp1314 = sext i16 %p_6 to i32 ; <i32> [#uses=1]9 %tmp28 = icmp ugt i32 %tmp1314, 3 ; <i1> [#uses=1]10 %bothcond = or i1 %tmp28, false ; <i1> [#uses=1]11 br label %bb12bb: ; preds = %bb54, %entry13 br i1 %tmp3, label %bb54, label %bb514bb5: ; preds = %bb15 br i1 %bothcond, label %bb54, label %bb3116bb31: ; preds = %bb517 br label %bb5418bb54: ; preds = %bb31, %bb5, %bb19 br i1 false, label %bb64, label %bb20bb64: ; preds = %bb5421 %tmp6566 = sext i16 %p_6 to i32 ; <i32> [#uses=1]22 %tmp68 = tail call i32 (...) @func_18( i32 1, i32 %tmp6566, i32 1 ) nounwind ; <i32> [#uses=0]23 ret i32 undef24}25 26declare i32 @func_18(...)27