blob: 1127b6093215b5c67efff74beb0361ee2687cf52 [file] [log] [blame]
John Bauman66b8ab22014-05-06 15:57:45 -04001; RUN: llc < %s -march=x86 -disable-cgp-branch-opts | grep movzbl
2; PR3366
3
4define void @_ada_c34002a() nounwind {
5entry:
6 %0 = load i8* null, align 1
7 %1 = sdiv i8 90, %0
8 %2 = icmp ne i8 %1, 3
9 %3 = zext i1 %2 to i8
10 %toBool449 = icmp ne i8 %3, 0
11 %4 = or i1 false, %toBool449
12 %5 = zext i1 %4 to i8
13 %toBool450 = icmp ne i8 %5, 0
14 br i1 %toBool450, label %bb451, label %bb457
15
16bb451:
17 br label %bb457
18
19bb457:
20 unreachable
21}