1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=i686-- | FileCheck %s
4 define i8 @test(ptr%P) nounwind {
7 ; CHECK-NEXT: movl {{[0-9]+}}(%esp), %eax
8 ; CHECK-NEXT: cmpb $0, 4(%eax)
9 ; CHECK-NEXT: je .LBB0_1
10 ; CHECK-NEXT: # %bb.2: # %F
11 ; CHECK-NEXT: movzbl 7(%eax), %eax
13 ; CHECK-NEXT: .LBB0_1: # %TB
14 ; CHECK-NEXT: movb $4, %al
16 %Q = getelementptr i32, ptr %P, i32 1
19 br i1 %T, label %TB, label %F
23 %U = getelementptr i8, ptr %Q, i32 3