blob: f813e2e58801ae9d0ea2c7e6589325b4ec14853d [file] [log] [blame]
Dan Gohman0a063102009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86 | grep movzbl
Dan Gohman7bbd9202009-01-21 14:50:16 +00002; 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}