summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/pr3366.ll
blob: d9c5f53f21f02a5e01c7f74f533155df76c01080 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
; RUN: llc < %s -march=x86 -disable-cgp-branch-opts | FileCheck %s
; PR3366

; CHECK: movzx
define void @_ada_c34002a() nounwind {
entry:
  %0 = load i8* null, align 1
  %1 = sdiv i8 90, %0
  %2 = icmp ne i8 %1, 3
  %3 = zext i1 %2 to i8
  %toBool449 = icmp ne i8 %3, 0
  %4 = or i1 false, %toBool449
  %5 = zext i1 %4 to i8
  %toBool450 = icmp ne i8 %5, 0
  br i1 %toBool450, label %bb451, label %bb457

bb451:
  br label %bb457

bb457:
  unreachable
}