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(i32 *%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: movb 7(%eax), %al
13 ; CHECK-NEXT: .LBB0_1: # %TB
14 ; CHECK-NEXT: movb $4, %al
16 %Q = getelementptr i32, i32* %P, i32 1
17 %R = bitcast i32* %Q to i8*
20 br i1 %T, label %TB, label %F
24 %U = getelementptr i8, i8* %R, i32 3