1*f4a2713aSLionel Sambuc; RUN: llc < %s -march=x86 -disable-cgp-branch-opts | grep movzbl 2*f4a2713aSLionel Sambuc; PR3366 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambucdefine void @_ada_c34002a() nounwind { 5*f4a2713aSLionel Sambucentry: 6*f4a2713aSLionel Sambuc %0 = load i8* null, align 1 7*f4a2713aSLionel Sambuc %1 = sdiv i8 90, %0 8*f4a2713aSLionel Sambuc %2 = icmp ne i8 %1, 3 9*f4a2713aSLionel Sambuc %3 = zext i1 %2 to i8 10*f4a2713aSLionel Sambuc %toBool449 = icmp ne i8 %3, 0 11*f4a2713aSLionel Sambuc %4 = or i1 false, %toBool449 12*f4a2713aSLionel Sambuc %5 = zext i1 %4 to i8 13*f4a2713aSLionel Sambuc %toBool450 = icmp ne i8 %5, 0 14*f4a2713aSLionel Sambuc br i1 %toBool450, label %bb451, label %bb457 15*f4a2713aSLionel Sambuc 16*f4a2713aSLionel Sambucbb451: 17*f4a2713aSLionel Sambuc br label %bb457 18*f4a2713aSLionel Sambuc 19*f4a2713aSLionel Sambucbb457: 20*f4a2713aSLionel Sambuc unreachable 21*f4a2713aSLionel Sambuc} 22