• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu | FileCheck %s
3
4define void @PR33747(i32* nocapture) {
5; CHECK-LABEL: PR33747:
6; CHECK:       # %bb.0:
7; CHECK-NEXT:    movl 24(%rdi), %eax
8; CHECK-NEXT:    testl %eax, %eax
9; CHECK-NEXT:    je .LBB0_3
10; CHECK-NEXT:  # %bb.1:
11; CHECK-NEXT:    incl %eax
12; CHECK-NEXT:    cmpl $3, %eax
13; CHECK-NEXT:    jae .LBB0_3
14; CHECK-NEXT:    .p2align 4, 0x90
15; CHECK-NEXT:  .LBB0_2: # =>This Inner Loop Header: Depth=1
16; CHECK-NEXT:    jmp .LBB0_2
17; CHECK-NEXT:    .p2align 4, 0x90
18; CHECK-NEXT:  .LBB0_3: # =>This Inner Loop Header: Depth=1
19; CHECK-NEXT:    jmp .LBB0_3
20  %2 = getelementptr inbounds i32, i32* %0, i64 6
21  %3 = load i32, i32* %2, align 4
22  %4 = add i32 %3, 1
23  %5 = icmp ult i32 %4, 3
24  %6 = icmp ne i32 %3, 0
25  %7 = and i1 %6, %5
26  br i1 %7, label %8, label %9
27  br label %8
28  br label %9
29}
30