1*9880d681SAndroid Build Coastguard Worker; RUN: opt < %s -instcombine -S | FileCheck %s 2*9880d681SAndroid Build Coastguard Workertarget datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64" 3*9880d681SAndroid Build Coastguard Worker@C.0.1248 = internal constant [128 x float] [ float -1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 0.000000e+00, float -1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 0.000000e+00, float 1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00 ], align 32 ; <[128 x float]*> [#uses=1] 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Workerdefine float @test1(i32 %hash, float %x, float %y, float %z, float %w) { 6*9880d681SAndroid Build Coastguard Workerentry: 7*9880d681SAndroid Build Coastguard Worker %lookupTable = alloca [128 x float], align 16 ; <[128 x float]*> [#uses=5] 8*9880d681SAndroid Build Coastguard Worker %lookupTable1 = bitcast [128 x float]* %lookupTable to i8* ; <i8*> [#uses=1] 9*9880d681SAndroid Build Coastguard Worker call void @llvm.memcpy.p0i8.p0i8.i64(i8* %lookupTable1, i8* bitcast ([128 x float]* @C.0.1248 to i8*), i64 512, i32 16, i1 false) 10*9880d681SAndroid Build Coastguard Worker 11*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: @test1( 12*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: alloca 13*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: call{{.*}}@llvm.memcpy 14*9880d681SAndroid Build Coastguard Worker 15*9880d681SAndroid Build Coastguard Worker %tmp3 = shl i32 %hash, 2 ; <i32> [#uses=1] 16*9880d681SAndroid Build Coastguard Worker %tmp5 = and i32 %tmp3, 124 ; <i32> [#uses=4] 17*9880d681SAndroid Build Coastguard Worker %tmp753 = getelementptr [128 x float], [128 x float]* %lookupTable, i32 0, i32 %tmp5 ; <float*> [#uses=1] 18*9880d681SAndroid Build Coastguard Worker %tmp9 = load float, float* %tmp753 ; <float> [#uses=1] 19*9880d681SAndroid Build Coastguard Worker %tmp11 = fmul float %tmp9, %x ; <float> [#uses=1] 20*9880d681SAndroid Build Coastguard Worker %tmp13 = fadd float %tmp11, 0.000000e+00 ; <float> [#uses=1] 21*9880d681SAndroid Build Coastguard Worker %tmp17.sum52 = or i32 %tmp5, 1 ; <i32> [#uses=1] 22*9880d681SAndroid Build Coastguard Worker %tmp1851 = getelementptr [128 x float], [128 x float]* %lookupTable, i32 0, i32 %tmp17.sum52 ; <float*> [#uses=1] 23*9880d681SAndroid Build Coastguard Worker %tmp19 = load float, float* %tmp1851 ; <float> [#uses=1] 24*9880d681SAndroid Build Coastguard Worker %tmp21 = fmul float %tmp19, %y ; <float> [#uses=1] 25*9880d681SAndroid Build Coastguard Worker %tmp23 = fadd float %tmp21, %tmp13 ; <float> [#uses=1] 26*9880d681SAndroid Build Coastguard Worker %tmp27.sum50 = or i32 %tmp5, 2 ; <i32> [#uses=1] 27*9880d681SAndroid Build Coastguard Worker %tmp2849 = getelementptr [128 x float], [128 x float]* %lookupTable, i32 0, i32 %tmp27.sum50 ; <float*> [#uses=1] 28*9880d681SAndroid Build Coastguard Worker %tmp29 = load float, float* %tmp2849 ; <float> [#uses=1] 29*9880d681SAndroid Build Coastguard Worker %tmp31 = fmul float %tmp29, %z ; <float> [#uses=1] 30*9880d681SAndroid Build Coastguard Worker %tmp33 = fadd float %tmp31, %tmp23 ; <float> [#uses=1] 31*9880d681SAndroid Build Coastguard Worker %tmp37.sum48 = or i32 %tmp5, 3 ; <i32> [#uses=1] 32*9880d681SAndroid Build Coastguard Worker %tmp3847 = getelementptr [128 x float], [128 x float]* %lookupTable, i32 0, i32 %tmp37.sum48 ; <float*> [#uses=1] 33*9880d681SAndroid Build Coastguard Worker %tmp39 = load float, float* %tmp3847 ; <float> [#uses=1] 34*9880d681SAndroid Build Coastguard Worker %tmp41 = fmul float %tmp39, %w ; <float> [#uses=1] 35*9880d681SAndroid Build Coastguard Worker %tmp43 = fadd float %tmp41, %tmp33 ; <float> [#uses=1] 36*9880d681SAndroid Build Coastguard Worker ret float %tmp43 37*9880d681SAndroid Build Coastguard Worker} 38*9880d681SAndroid Build Coastguard Worker 39*9880d681SAndroid Build Coastguard Workerdeclare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture, i64, i32, i1) nounwind 40*9880d681SAndroid Build Coastguard Workerdeclare void @llvm.memcpy.p1i8.p0i8.i64(i8 addrspace(1)* nocapture, i8* nocapture, i64, i32, i1) nounwind 41*9880d681SAndroid Build Coastguard Workerdeclare void @llvm.memcpy.p0i8.p1i8.i64(i8* nocapture, i8 addrspace(1)* nocapture, i64, i32, i1) nounwind 42*9880d681SAndroid Build Coastguard Workerdeclare void @llvm.memcpy.p1i8.p1i8.i64(i8 addrspace(1)* nocapture, i8 addrspace(1)* nocapture, i64, i32, i1) nounwind 43*9880d681SAndroid Build Coastguard Worker 44*9880d681SAndroid Build Coastguard Worker%T = type { i8, [123 x i8] } 45*9880d681SAndroid Build Coastguard Worker%U = type { i32, i32, i32, i32, i32 } 46*9880d681SAndroid Build Coastguard Worker 47*9880d681SAndroid Build Coastguard Worker@G = constant %T {i8 1, [123 x i8] zeroinitializer } 48*9880d681SAndroid Build Coastguard Worker@H = constant [2 x %U] zeroinitializer, align 16 49*9880d681SAndroid Build Coastguard Worker 50*9880d681SAndroid Build Coastguard Workerdefine void @test2() { 51*9880d681SAndroid Build Coastguard Worker %A = alloca %T 52*9880d681SAndroid Build Coastguard Worker %B = alloca %T 53*9880d681SAndroid Build Coastguard Worker %a = bitcast %T* %A to i8* 54*9880d681SAndroid Build Coastguard Worker %b = bitcast %T* %B to i8* 55*9880d681SAndroid Build Coastguard Worker 56*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: @test2( 57*9880d681SAndroid Build Coastguard Worker 58*9880d681SAndroid Build Coastguard Worker; %A alloca is deleted 59*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: alloca [124 x i8] 60*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: getelementptr inbounds [124 x i8], [124 x i8]* 61*9880d681SAndroid Build Coastguard Worker 62*9880d681SAndroid Build Coastguard Worker; use @G instead of %A 63*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: call void @llvm.memcpy.p0i8.p0i8.i64(i8* %{{.*}}, i8* getelementptr inbounds (%T, %T* @G, i64 0, i32 0) 64*9880d681SAndroid Build Coastguard Worker call void @llvm.memcpy.p0i8.p0i8.i64(i8* %a, i8* bitcast (%T* @G to i8*), i64 124, i32 4, i1 false) 65*9880d681SAndroid Build Coastguard Worker call void @llvm.memcpy.p0i8.p0i8.i64(i8* %b, i8* %a, i64 124, i32 4, i1 false) 66*9880d681SAndroid Build Coastguard Worker call void @bar(i8* %b) 67*9880d681SAndroid Build Coastguard Worker ret void 68*9880d681SAndroid Build Coastguard Worker} 69*9880d681SAndroid Build Coastguard Worker 70*9880d681SAndroid Build Coastguard Workerdefine void @test2_addrspacecast() { 71*9880d681SAndroid Build Coastguard Worker %A = alloca %T 72*9880d681SAndroid Build Coastguard Worker %B = alloca %T 73*9880d681SAndroid Build Coastguard Worker %a = addrspacecast %T* %A to i8 addrspace(1)* 74*9880d681SAndroid Build Coastguard Worker %b = addrspacecast %T* %B to i8 addrspace(1)* 75*9880d681SAndroid Build Coastguard Worker 76*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: @test2_addrspacecast( 77*9880d681SAndroid Build Coastguard Worker 78*9880d681SAndroid Build Coastguard Worker; %A alloca is deleted 79*9880d681SAndroid Build Coastguard Worker; This doesn't exactly match what test2 does, because folding the type 80*9880d681SAndroid Build Coastguard Worker; cast into the alloca doesn't work for the addrspacecast yet. 81*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: alloca [124 x i8] 82*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: getelementptr 83*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: addrspacecast 84*9880d681SAndroid Build Coastguard Worker 85*9880d681SAndroid Build Coastguard Worker; use @G instead of %A 86*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: call void @llvm.memcpy.p1i8.p1i8.i64(i8 addrspace(1)* %{{.*}}, 87*9880d681SAndroid Build Coastguard Worker call void @llvm.memcpy.p1i8.p0i8.i64(i8 addrspace(1)* %a, i8* bitcast (%T* @G to i8*), i64 124, i32 4, i1 false) 88*9880d681SAndroid Build Coastguard Worker call void @llvm.memcpy.p1i8.p1i8.i64(i8 addrspace(1)* %b, i8 addrspace(1)* %a, i64 124, i32 4, i1 false) 89*9880d681SAndroid Build Coastguard Worker call void @bar_as1(i8 addrspace(1)* %b) 90*9880d681SAndroid Build Coastguard Worker ret void 91*9880d681SAndroid Build Coastguard Worker} 92*9880d681SAndroid Build Coastguard Worker 93*9880d681SAndroid Build Coastguard Workerdeclare void @bar(i8*) 94*9880d681SAndroid Build Coastguard Workerdeclare void @bar_as1(i8 addrspace(1)*) 95*9880d681SAndroid Build Coastguard Worker 96*9880d681SAndroid Build Coastguard Worker 97*9880d681SAndroid Build Coastguard Worker;; Should be able to eliminate the alloca. 98*9880d681SAndroid Build Coastguard Workerdefine void @test3() { 99*9880d681SAndroid Build Coastguard Worker %A = alloca %T 100*9880d681SAndroid Build Coastguard Worker %a = bitcast %T* %A to i8* 101*9880d681SAndroid Build Coastguard Worker call void @llvm.memcpy.p0i8.p0i8.i64(i8* %a, i8* bitcast (%T* @G to i8*), i64 124, i32 4, i1 false) 102*9880d681SAndroid Build Coastguard Worker call void @bar(i8* %a) readonly 103*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: @test3( 104*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: call void @bar(i8* getelementptr inbounds (%T, %T* @G, i64 0, i32 0)) 105*9880d681SAndroid Build Coastguard Worker ret void 106*9880d681SAndroid Build Coastguard Worker} 107*9880d681SAndroid Build Coastguard Worker 108*9880d681SAndroid Build Coastguard Workerdefine void @test3_addrspacecast() { 109*9880d681SAndroid Build Coastguard Worker %A = alloca %T 110*9880d681SAndroid Build Coastguard Worker %a = bitcast %T* %A to i8* 111*9880d681SAndroid Build Coastguard Worker call void @llvm.memcpy.p0i8.p1i8.i64(i8* %a, i8 addrspace(1)* addrspacecast (%T* @G to i8 addrspace(1)*), i64 124, i32 4, i1 false) 112*9880d681SAndroid Build Coastguard Worker call void @bar(i8* %a) readonly 113*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: @test3_addrspacecast( 114*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: call void @bar(i8* getelementptr inbounds (%T, %T* @G, i64 0, i32 0)) 115*9880d681SAndroid Build Coastguard Worker ret void 116*9880d681SAndroid Build Coastguard Worker} 117*9880d681SAndroid Build Coastguard Worker 118*9880d681SAndroid Build Coastguard Worker 119*9880d681SAndroid Build Coastguard Workerdefine void @test4() { 120*9880d681SAndroid Build Coastguard Worker %A = alloca %T 121*9880d681SAndroid Build Coastguard Worker %a = bitcast %T* %A to i8* 122*9880d681SAndroid Build Coastguard Worker call void @llvm.memcpy.p0i8.p0i8.i64(i8* %a, i8* bitcast (%T* @G to i8*), i64 124, i32 4, i1 false) 123*9880d681SAndroid Build Coastguard Worker call void @baz(i8* byval %a) 124*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: @test4( 125*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: call void @baz(i8* byval getelementptr inbounds (%T, %T* @G, i64 0, i32 0)) 126*9880d681SAndroid Build Coastguard Worker ret void 127*9880d681SAndroid Build Coastguard Worker} 128*9880d681SAndroid Build Coastguard Worker 129*9880d681SAndroid Build Coastguard Workerdeclare void @llvm.lifetime.start(i64, i8*) 130*9880d681SAndroid Build Coastguard Workerdefine void @test5() { 131*9880d681SAndroid Build Coastguard Worker %A = alloca %T 132*9880d681SAndroid Build Coastguard Worker %a = bitcast %T* %A to i8* 133*9880d681SAndroid Build Coastguard Worker call void @llvm.lifetime.start(i64 -1, i8* %a) 134*9880d681SAndroid Build Coastguard Worker call void @llvm.memcpy.p0i8.p0i8.i64(i8* %a, i8* bitcast (%T* @G to i8*), i64 124, i32 4, i1 false) 135*9880d681SAndroid Build Coastguard Worker call void @baz(i8* byval %a) 136*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: @test5( 137*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: call void @baz(i8* byval getelementptr inbounds (%T, %T* @G, i64 0, i32 0)) 138*9880d681SAndroid Build Coastguard Worker ret void 139*9880d681SAndroid Build Coastguard Worker} 140*9880d681SAndroid Build Coastguard Worker 141*9880d681SAndroid Build Coastguard Worker 142*9880d681SAndroid Build Coastguard Workerdeclare void @baz(i8* byval) 143*9880d681SAndroid Build Coastguard Worker 144*9880d681SAndroid Build Coastguard Worker 145*9880d681SAndroid Build Coastguard Workerdefine void @test6() { 146*9880d681SAndroid Build Coastguard Worker %A = alloca %U, align 16 147*9880d681SAndroid Build Coastguard Worker %a = bitcast %U* %A to i8* 148*9880d681SAndroid Build Coastguard Worker call void @llvm.memcpy.p0i8.p0i8.i64(i8* %a, i8* bitcast ([2 x %U]* @H to i8*), i64 20, i32 16, i1 false) 149*9880d681SAndroid Build Coastguard Worker call void @bar(i8* %a) readonly 150*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: @test6( 151*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: call void @bar(i8* bitcast ([2 x %U]* @H to i8*)) 152*9880d681SAndroid Build Coastguard Worker ret void 153*9880d681SAndroid Build Coastguard Worker} 154*9880d681SAndroid Build Coastguard Worker 155*9880d681SAndroid Build Coastguard Workerdefine void @test7() { 156*9880d681SAndroid Build Coastguard Worker %A = alloca %U, align 16 157*9880d681SAndroid Build Coastguard Worker %a = bitcast %U* %A to i8* 158*9880d681SAndroid Build Coastguard Worker call void @llvm.memcpy.p0i8.p0i8.i64(i8* %a, i8* bitcast (%U* getelementptr ([2 x %U], [2 x %U]* @H, i64 0, i32 0) to i8*), i64 20, i32 4, i1 false) 159*9880d681SAndroid Build Coastguard Worker call void @bar(i8* %a) readonly 160*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: @test7( 161*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: call void @bar(i8* bitcast ([2 x %U]* @H to i8*)) 162*9880d681SAndroid Build Coastguard Worker ret void 163*9880d681SAndroid Build Coastguard Worker} 164*9880d681SAndroid Build Coastguard Worker 165*9880d681SAndroid Build Coastguard Workerdefine void @test8() { 166*9880d681SAndroid Build Coastguard Worker %A = alloca %U, align 16 167*9880d681SAndroid Build Coastguard Worker %a = bitcast %U* %A to i8* 168*9880d681SAndroid Build Coastguard Worker call void @llvm.memcpy.p0i8.p0i8.i64(i8* %a, i8* bitcast (%U* getelementptr ([2 x %U], [2 x %U]* @H, i64 0, i32 1) to i8*), i64 20, i32 4, i1 false) 169*9880d681SAndroid Build Coastguard Worker call void @bar(i8* %a) readonly 170*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: @test8( 171*9880d681SAndroid Build Coastguard Worker; CHECK: llvm.memcpy 172*9880d681SAndroid Build Coastguard Worker; CHECK: bar 173*9880d681SAndroid Build Coastguard Worker ret void 174*9880d681SAndroid Build Coastguard Worker} 175*9880d681SAndroid Build Coastguard Worker 176*9880d681SAndroid Build Coastguard Worker 177*9880d681SAndroid Build Coastguard Workerdefine void @test8_addrspacecast() { 178*9880d681SAndroid Build Coastguard Worker %A = alloca %U, align 16 179*9880d681SAndroid Build Coastguard Worker %a = bitcast %U* %A to i8* 180*9880d681SAndroid Build Coastguard Worker call void @llvm.memcpy.p0i8.p1i8.i64(i8* %a, i8 addrspace(1)* addrspacecast (%U* getelementptr ([2 x %U], [2 x %U]* @H, i64 0, i32 1) to i8 addrspace(1)*), i64 20, i32 4, i1 false) 181*9880d681SAndroid Build Coastguard Worker call void @bar(i8* %a) readonly 182*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: @test8_addrspacecast( 183*9880d681SAndroid Build Coastguard Worker; CHECK: llvm.memcpy 184*9880d681SAndroid Build Coastguard Worker; CHECK: bar 185*9880d681SAndroid Build Coastguard Worker ret void 186*9880d681SAndroid Build Coastguard Worker} 187*9880d681SAndroid Build Coastguard Worker 188*9880d681SAndroid Build Coastguard Workerdefine void @test9() { 189*9880d681SAndroid Build Coastguard Worker %A = alloca %U, align 4 190*9880d681SAndroid Build Coastguard Worker %a = bitcast %U* %A to i8* 191*9880d681SAndroid Build Coastguard Worker call void @llvm.memcpy.p0i8.p0i8.i64(i8* %a, i8* bitcast (%U* getelementptr ([2 x %U], [2 x %U]* @H, i64 0, i32 1) to i8*), i64 20, i32 4, i1 false) 192*9880d681SAndroid Build Coastguard Worker call void @bar(i8* %a) readonly 193*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: @test9( 194*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: call void @bar(i8* bitcast (%U* getelementptr inbounds ([2 x %U], [2 x %U]* @H, i64 0, i64 1) to i8*)) 195*9880d681SAndroid Build Coastguard Worker ret void 196*9880d681SAndroid Build Coastguard Worker} 197*9880d681SAndroid Build Coastguard Worker 198*9880d681SAndroid Build Coastguard Workerdefine void @test9_addrspacecast() { 199*9880d681SAndroid Build Coastguard Worker %A = alloca %U, align 4 200*9880d681SAndroid Build Coastguard Worker %a = bitcast %U* %A to i8* 201*9880d681SAndroid Build Coastguard Worker call void @llvm.memcpy.p0i8.p1i8.i64(i8* %a, i8 addrspace(1)* addrspacecast (%U* getelementptr ([2 x %U], [2 x %U]* @H, i64 0, i32 1) to i8 addrspace(1)*), i64 20, i32 4, i1 false) 202*9880d681SAndroid Build Coastguard Worker call void @bar(i8* %a) readonly 203*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: @test9_addrspacecast( 204*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: call void @bar(i8* bitcast (%U* getelementptr inbounds ([2 x %U], [2 x %U]* @H, i64 0, i64 1) to i8*)) 205*9880d681SAndroid Build Coastguard Worker ret void 206*9880d681SAndroid Build Coastguard Worker} 207