1 ; RUN: llc -verify-machineinstrs < %s
3 target triple = "powerpc-unknown-linux-gnu"
4 %struct..0anon = type { i32 }
5 %struct.A = type { %struct.anon }
6 %struct.anon = type <{ }>
8 define void @bork(%struct.A* %In0P) {
10 %tmp56 = bitcast %struct.A* %In0P to float* ; <float*> [#uses=1]
13 bb: ; preds = %bb, %entry
14 %i.035.0 = phi i32 [ 0, %entry ], [ %indvar.next, %bb ] ; <i32> [#uses=2]
15 %tmp8 = getelementptr float, float* %tmp56, i32 %i.035.0 ; <float*> [#uses=2]
16 %tmp101112 = bitcast float* %tmp8 to i8* ; <i8*> [#uses=1]
17 %tmp1617 = bitcast float* %tmp8 to i32* ; <i32*> [#uses=1]
18 %tmp21 = tail call i32 asm "lwbrx $0, $2, $1", "=r,r,bO,*m"( i8* %tmp101112, i32 0, i32* %tmp1617 ) ; <i32> [#uses=0]
19 %indvar.next = add i32 %i.035.0, 1 ; <i32> [#uses=2]
20 %exitcond = icmp eq i32 %indvar.next, 4 ; <i1> [#uses=1]
21 br i1 %exitcond, label %return, label %bb